ASP.NET is a web application framework developed and marketed by Microsoft to allow programmers to build dynamic web sites and web applications. It was first released in January 2002 with version 1.0 of the .NET Framework, and is the successor to Microsoft's Active Server Pages (ASP) technology. ...

learn more… | top users | synonyms

3
votes
4answers
217 views

Web Project Class Architecture

I think this is a good question for here but I'm not 100% sure. Please flag if it's too vague. I've worked on many websites where common framework classes are overridden. Since I work mostly in ...
6
votes
2answers
2k views

What is the difference between PHP and ASP.NET Web Forms in page size?

I plan to program web applications for small companies. When I read about ASP.NET Web Forms, I liked its way of building dynamic sites. However, I have heard from a friend that Web Forms could ...
4
votes
3answers
459 views

How do ORM'S manage CRUD operations in multi thread environment

Suppose I have code which retrieves an object and modifies it and submits it via any ORM from a web application. Below is the pseudo code: First request var objCust = ...
2
votes
3answers
811 views

Is it possible to get dynamically generated html in asp.net tags using HTTP Modules?

I want to know if it is possible to write to a log/text file dynamically generated HTML in asp.net tags in an .aspx page using HTTP modules. By dynamically generated HTML, I mean the html content ...
0
votes
3answers
418 views

Re-engineering an ASP.NET AJAX project as ASP MVC

I have been asked to investigate the possibility of re-engineering an existing ASP.NET AJAX Web Application as under MVC. The project, as it stands ATM, is very heavily relient on Telerik's ASP.NET ...
0
votes
1answer
366 views

Controller layer and 3-tier architecture

What is controller layer and where we put this in our 3-tier architecture? 1)UI 2)Business Logic Layer 3)Data Access Layer I search in net but unable to get exact ans.Any links or sample example ...
0
votes
1answer
207 views

Formatting Dynamic Web Pages

A page built so that is has server side scripts implemented on the page. Should indentation of the code be according to the server side logic (making it easier to read while coding) or according to ...
4
votes
3answers
845 views

A design pattern for data binding an object (with subclasses) to asp.net user control

I have an abstract class called Address and I am deriving three classes ; HomeAddress, Work Address, NextOfKin address. My idea is to bind this to a usercontrol and based on the type of Address it ...
0
votes
3answers
672 views

How to make ASP .NET MVC website have a continuous process running?

This website is supposed to be a game where the players have some 'buildings' and these buildings produce resources. E.g. an iron mine may produce 30 pieces of iron ore per minute and automatically ...
-1
votes
1answer
599 views

Migrating from PHP to ASP .NET MVC [closed]

I plan on migrating a website from PHP to ASP .NET MVC. However, since the website is large and this migration can't be done in a short time I plan to use both MVC and PHP pages together. So the idea ...
5
votes
1answer
2k views

One Login amongst multiple ASP.NET MVC applications Questions

I have been working on an ASP.NET MVC 4 application that uses forms based authentication. Users are validated against a membership provider based on a provider selection on the login form. For ...
1
vote
5answers
711 views

Should heavy binary files not be stored in database? [closed]

I was asked an interesting question: Should a database contains all data? Or heavy binary files should be stored in file system? Example of heavy binary files : videos or heavy pdf files (+200 MB) ...
3
votes
2answers
271 views

Overcoming circular reference

I am working on an asp.net MVC web application which contains several projects. One is BusinessObjects, which contains business logic / processes. Another is EmailGeneration which is used to send ...
4
votes
2answers
975 views

How does authentication work with ASP.NET (using Live ID and\or Windows Authentication)

I'm primarily a .NET desktop app programmer. Coming into the web world has been difficult. I'm trying to convert one of my Silverlight apps into HTML. But I'm having a hard time figuring out the ...
2
votes
1answer
700 views

Newbie ASP.NET developer being forced into MVC4 with WebForms

I recently got hired on as a new ASP.NET developer (C# code behind). When I arrived, I was told that they were moving to MVC 4, and so I bought two books on that. However, the other day I learned ...
3
votes
1answer
224 views

Were there major changes in testing practices in ASP .NET between 3.5 and 4.5?

Obviously, testing methods are language-independent. An integration test stays an integration test no matter what the technology. But platforms implement some kinds of testing support. And the ...
2
votes
2answers
321 views

Different Project Type in a Single Website

I have developed a website in asp.net and I have some additional tasks, improvements to develop. In order to get experience in asp.net/mvc, I want to create an admin panel using asp.net mvc. Is this ...
2
votes
1answer
101 views

Reporting and handling asynchronous process errors to a client

I have a product with two separate applications. The core of the product lives in the database (oracle) and runs according to a schedule. The other is a client application (currently ASP.NET MVC3) ...
1
vote
1answer
159 views

Good resources for a MVC.Net developer going back to WebForms? [closed]

Well it looks like I may be forced to build a new system in webforms after having worked exclusively in MVC for the last 3 years. Initially I didnt think this was going to be a problem except the ...
0
votes
2answers
816 views

Idea to develop a caching server between IIS and SQL Server

I work on a few high traffic websites that all share the same database and that are all heavily database driven. Our SQL server is max-ed out and, although we have already implemented many changes ...
1
vote
1answer
443 views

How to create a Request Specific Thread Safe Static int Counter?

In one of my server application I have a class that look like, class A { static int _value = 0; void DoSomething() { // a request start here _value = 0; _value++; ...
2
votes
1answer
433 views

Organizing ASP.Net Single Page Application with Nancy

As a personal project, I'm creating a single page, asp.net web application using Nancy to provide RESTful services to the single page. Due to the complexity of the single page, particularly the ...
1
vote
3answers
810 views

Setting up ASP.NET structure for code

I've always coded in C# MVC3 when developing web applications. But now i wanted to learn a bit more about developing web sites with just ASP.NET. But now i'm wondering what a good setup for my code ...
0
votes
2answers
318 views

add a prefix to localhost [closed]

Is there any possibility to add a prefix before localhost? My question is that I want to add a prefix before localhost for my project url (ie. "dev.localhost/project/default.htm"). This is for an ...
2
votes
1answer
2k views

Should I implement BackBone.js into my ASP.NET WebForms applications?

Background I'm trying to improve my group's current web app development pattern. Our current pattern is something we came up with while trying to rich web apps on top of ASP.NET WebForms (none of us ...
-3
votes
1answer
4k views

quick approach to migrate classic asp project to asp.net [duplicate]

Recently we got a requirement for converting a classic asp project to asp.net. This one is really a very old project created around 2002/2003. It consists of around 50 asp pages. I found very little ...
4
votes
1answer
183 views

Licensing approach for .NET library that might be used desktop / web-service / cloud environment

I am looking for advice how to architect licensing for a .NET library. I am not asking for tool/service recommendations or something like that. My library can be used in a regular desktop ...
0
votes
1answer
1k views

SOA in .NET 4.5 with MSMQ Durability

I have been doing some investigation regarding ASP.NET Web API. I have enjoyed using the WCF REST template to create new RESTful web services, and Web API seems to be a cleaner iteration on that. ...
2
votes
2answers
1k views

Sharing authentication methods across API and web app

I'm wanting to share an authentication implementation across a web application, and web API. The web application will be ASP.NET (mostly MVC 4), the API will be mostly ASP.NET WEB API, though I ...
1
vote
1answer
201 views

multi-clients web application,should I use custom user controls or a common user control

Say my company is going to build a complicated asp.net web form education system. One of the module is web based registration. To make it flexiable, we decide to use user control(ascx) with ...
5
votes
6answers
484 views

.NET - refactoring code

I have inherited and now further develop a large application consisting of an ASP.NET application, VB6 and VB.NET application. The software was poorly written. I am trying to refactor the code as I ...
1
vote
1answer
1k views

How to structure a XML-based order form using ASP.NET

First question here; please help me if I'm doing something wrong. I'm a graphic designer who's trying to teach himself ASP.NET/C#. My server-side background is PHP/WordPress and some ASP Classic, and ...
1
vote
1answer
414 views

ASP.NET MVVM Handling multiple Data Transfer Objects on a single page

I have an asp.net mvc "edit" page which allows the user to make edits to the parent entity, and then also "create" child entities on the same page. Note: I'm making these data transfer objects up. ...
4
votes
2answers
476 views

Do ASP.Net Web Forms actually produce ADA compliant HTML? Does the ASP/AJAX toolkit undermine the goal of ADA compliance?

I'm trying to convince my employer to let us use the Microsoft ASP/AJAX toolkit since it simplifies the implementation of many controls. However they have rejected the idea on the grounds that it ...
5
votes
2answers
694 views

Is server validation necessary with client-side validators?

I recently created a .net web app that used over 200 custom validators on one page. I wrote code for both ClientValidationFunction and OnServerValidate which results in a ton of repetitive code. My ...
5
votes
7answers
33k views

What is the best way to create HTML in C# code? [closed]

I have a belief that markup should remain in mark-up and not in the code behind. I've come to a situation where I think it is acceptable to build the HTML in the code behind. I'd like to have some ...
9
votes
7answers
12k views

Best practices for logging user actions in production

I was planning on logging a lot of different stuff in my production environment, things like when a user: Logs In, Logs Off Change Profile Edit Account settings Change password ... etc Is this a ...
-1
votes
1answer
581 views

Getting some experience with asp.net [closed]

Hi I recently learned asp.net webforms and looking to get some experience under my belt using it.I found a website that provided some exercises here: asp.net exercises There weren't that many and I ...
4
votes
2answers
634 views

Is ASP.NET MVC completely (and exclusively) based on conventions?

--TL;DR Is there a "Hello World!" ASP.NET MVC tutorial out there that doesn't rely on conventions and "stock" projects? Is it even possible to take advantage of the technology without reusing the ...
4
votes
1answer
803 views

Scenarios for differences between UICulture and Culture

In .NET there are two "culture" values, UICulture and Culture. The first one is for localized texts on the UI, while the latter sets the culture for date and number formats. I can't come up with any ...
3
votes
3answers
824 views

How to deal with almost the same enums?

I need to define enums in several classes. The majority of fields are the same in all of the enums. But one has one or two more fields, another has fewer fields. Now I wonder what is the best way to ...
1
vote
1answer
333 views

WCF/webservice architecture question

I have a requirement to create a webservice to expose certain items from a CMS as a web service, and I need some suggestions - the structure of the items is as such: item - field 1 - field 2 - field ...
2
votes
1answer
2k views

Alternative way of developing for ASP.NET to WebForms - Any problems with this?

So I have been developing in ASP.NET WebForms for some time now but often get annoyed with all the overhead (like ViewState and all the JavaScript it generates), and the way WebForms takes over a lot ...
1
vote
2answers
625 views

What is the impact of CSS Validation Failure?

I am developing a asp.net website. When I used the CSS property "word-wrap", VIsual Studio 2010 is showing a warning: Validation (CSS 2.1) 'word-wrap' is not a known CSS property name. When I tested ...
-2
votes
3answers
5k views

How do I Export to excel on aspx page?

I am trying to take data that I request from an access database and put it into and excel file on the client computer. I usually use ajax to request a summary of the data I need. It is formatted ...
19
votes
5answers
12k views

Is There a Real Advantage to Generic Repository?

Was reading through some articles on the advantages of creating Generic Repositories for a new app (example). The idea seems nice because it lets me use the same repository to do several things for ...
1
vote
2answers
287 views

Suggestions needed on an architecture for a multiple clients and customisable web application

Our product is a web based course managemant system. We have 10+ clients and in future we may get more clients. (Asp.net,SQL Server) Currently if one of our customers need extra functionality or ...
4
votes
3answers
514 views

How much should I rely on Visual Studio's Auto Generated Code?

I'm reading about ASP.NET (VB.NET) and I want to built my professionally website. I'm wondering though; I'm still using the basics so I'm really just a novice, but how much should I rely on Visual ...
5
votes
3answers
2k views

Is the .NET/Microsoft technology stack a financially viable option for a startup with limited finances?

I have an unpaid internship for a very new startup company with little tech experience that's trying to be a Groupon clone. They're currently using Wordpress and I've been trying to decide what web ...
0
votes
1answer
785 views

Sequence Diagram for Response Redirect in ASP.Net Webforms

In asp.net webforms I have a home aspx page that has a “Go” button. [This is the only control in this page]. When this button is clicked, the user is redirected to “UserProfile.aspx” page. How can we ...