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

2
votes
4answers
1k views

DTOs matter on ASP.NET MVC JSON Action?

I recently came across an internal project where they were using DTOs throughout the solution, and when I sat down to implement a new MVC controller with a JSON REST endpoint I decided to use an ...
3
votes
2answers
262 views

Possible problems in a team of programmers [closed]

I am a "one man team" ASP.NET C#, SQL, HTML, JQuery programmer that wants to split workload with two other guys. Since I never actually thought of possible issue in a team of programmer, there are ...
2
votes
5answers
7k views

Business Logic Layer in MVC Application

In my ASP MVC application I decided to add another Business Layer and made the model only to have properties. All other functionality like save to db, get from db is done on this new Business layer. ...
1
vote
2answers
2k views

Design pattern for an ASP.NET project using Entity Framework

I'm building a website in ASP.NET (Web Forms) on top of an engine with business rules (which basically resides in a separate DLL), connected to a database mapped with Entity Framework (in a 3rd, ...
4
votes
2answers
188 views

Does the use of mongodb enhance extending/changing database driven applications?

When an application is created which need to store data, an SQL database is used very often. So did I in a lot of asp.net applications. The resulting applications have often an ORM like the entity ...
0
votes
1answer
6k views

Entity Framework 5, separating business logic from model - Repository?

I am working on my first public-facing web application and I’m using MVC 4 for the presentation layer and EF 5 for the DAL. The database structure is locked, and there are moderate differences ...
2
votes
2answers
265 views

Implementing set of processes in a stored procedure or through the code?

I want to know what's the suitable method to implement the following case (best practice). If i make a set of processes like this: select data from set of DB tables. loop on the selected result. ...
0
votes
3answers
1k views

ASP.NET Web Forms is bad, or what am I missing? [closed]

Being a PHP guy myself I recently had to write a spider to an asp.net site. I was really surprised by the different approach to ajax and form-handling. For example, in the PHP sites I've worked with, ...
-2
votes
1answer
399 views

Is choosing ASP.NET WebForms to design web applications now a bad practice? [closed]

I have no time to code in MVC and jQuery, I just want this job to "get done", and honestly I like WebForms after 3 years of MVC programming. So my question is, technically, is it bad practice to ...
0
votes
1answer
145 views

Properly structure an existing project into the MVC architecture

I'm taking a legacy classic asp project up to more modern technology (I've been working with ASP.NET MVC lately so using this concept is stuck in my mind), but I'm trying to think of how to structure ...
1
vote
1answer
166 views

How to refer to <% in asp.net

I've realized that I refer to <%@ as 'angle bracket percent at' and <%$ as 'angle bracket percent dollar', But this is very clumsy. I think <%$ should be referred to as some sort of bind, ...
1
vote
0answers
591 views

Entity Framework and distributed Systems [duplicate]

I need some help or maybe only a hint for the right direction. I've got a system that is separated into two applications. An existing VB.NET desktop client using Entity Framework 5 with code first ...
3
votes
4answers
331 views

Entity Framework and distributed Systems

I need some help or maybe only a hint for the right direction. I've got a system that is sperated into two applications. An existing VB.NET desktop client using Entity Framework 5 with code first ...
1
vote
1answer
535 views

Providing popups in an asp.net web application that contain server controls

What is the best way to provide popups that contain asp.net server controls? I am working on a .net site. I have search functionality where if someone presses a button a panel appears where they can ...
1
vote
1answer
233 views

Is it feasible to change model relationship mappings and properties in Entity Framework CodeFirst at runtime?

Here's the situation. I have an enterprise application that uses EF Codefirst to map POCOs to an existing database. This has been working fine so far. In fact I would say that it's been working really ...
1
vote
4answers
446 views

Which ASP.Net programming model is closer to PHP? [closed]

I've been using ASP.Net WebForms for the last year or two at work for development, but I've used PHP for personal projects for 10 years. So, I'm far more adept at developing with PHP. When it comes ...
3
votes
1answer
466 views

Implementing User Authentication on an N-Tier Web Application

I appreciate all help and feedback. Parts bolded are critical parts if this is too verbose. Perhaps it will help to mention I am a green developer. I have found some useful info from related ...
1
vote
7answers
3k views

Hiding query strings logically?

I feel uncomfortable when using query string parameters as: http://xyz.com/default.aspx?carId=1129&country=uk&uniqueId=98745DVF4563VVf1259 I would rather use something that should not make ...
6
votes
3answers
3k views

Utility Classes in MVC - ASP.NET

So I was wondering today, where would you put utility classes in an ASP.NET MVC app? By utility classes I mean classes that can be static and are just used to perform a function. Like a class to send ...
21
votes
4answers
2k views

How many days is it normal for a new hire programmer to take to get up to speed? [duplicate]

I have just landed a role as a C#/Asp.Net developer at a large software house. I have previously worked at a much smaller software house for about two years but it was a varied/mixed role there, and ...
0
votes
2answers
1k views

Entity Framework designer not effective anymore

At my current workplace, Entity Framework 5 is used for all data access/manipulation. It is a database-first approach using the model designer to add/edit/delete/update entities. Problem We now ...
9
votes
1answer
3k views

call a function and never wait for it in C#

I have a controller in my mvc4 web application in which there is an action that needs to call another function. What happens in that function i.e. the return value is not important for my action. How ...
1
vote
1answer
289 views

catch(Exception ex) would this example be a code smell? [duplicate]

We have production code that is not easily deployed in a test area. We also have a new library of code that we would like to "plug in" to the production code. The production code would be making a ...
0
votes
2answers
566 views

ASP.NET without viewstate input, How comes?

I got surprised when I visited some sites with an 'aspx' extension at the end of their URLs and when I looked at their html source I didn't see any view state like the follwing: <input ...
3
votes
4answers
1k views

Get rid of long/Complex if..else statements using Chain of Responsibility?

I've an HttpHandler, which allows users to login to a system by passing in an encrypted code. Inside the ProcessRequest it performs quite a few steps. Retrieve the encrypted code from request ...
-2
votes
1answer
198 views

ASP.NET and windows applications [closed]

Currently I'm still learning ASP.NET. My goal is to build dynamic websites. However, I also want to be able to build some windows applications as well. So, is it easy to learn Windows forms or WPF ...
3
votes
3answers
243 views

If I learn ASP.NET with C#, will that help me learn to build Windows .Net non-web programs in C#?

If I learn to build web applications with the .NET stack in C#, say MVC, entity framework, linq, etc., will that be of any benefit to me in developing native Windows program executables? I see ...
4
votes
3answers
7k views

Best practice to store DateTime based on TimeZone

Developing a web application which should allow User to schedule appointment based on their TimeZone. And I am storing the User scheduled datetime as server datetime into database field. While ...
1
vote
1answer
258 views

ASP.NET deployment code?

I have a question regarding uploading an asp.net website to a real web sever. What type of files will be uploaded is it ASP.NET files or is it assemblies? To be more clear if someone got an access to ...
4
votes
1answer
236 views

Drawbacks of using pure html in webforms? [duplicate]

I'm maintaining an ASP.NET Webforms 4.5 application for a few months and frankly i'm fed up with server controls. So i switched to pure HTML and Javascript for front end, when creating new content (or ...
0
votes
3answers
303 views

VB stand alone application or ASP web application

I have experience developing software and web applications and I have decided to do some freelance work on the side. Well, I met with my first client and they are requesting a relatively simple, ...
1
vote
3answers
260 views

Is it good idea to change complete enterprise level application into ajax web app [closed]

I am working on an application which is completely written using server side method in asp.net web forms with c# . Now my team lead wants to convert whole application to ajax , in that approach we ...
1
vote
2answers
198 views

ASP.NET tags best practices

I'm working on my first ASP.NET project and I'm torn between using asp tags (<asp:SomeElement) everywhere or use some regular HTML for simple things that need no code behind, like fixed divs, ...
0
votes
1answer
119 views

How would I go about having an editable file to transform an object on a webpage?

I have some code that creates objects on a webpage by using draw on HTML5 canvas. In my aspx file I have functions like: function drawLine(x, y, w, h, width) { var canvas = ...
2
votes
3answers
1k views

Handling Deployment to Multiple Environments

How should I handle deploying web applications to multiple servers? Constraints I have a dev, test and prod environment. No build server is available. Developers can't deploy to prod. The people ...
0
votes
1answer
209 views

Web Application Development Question

I checked all the relevant question's of my query and their answer's but my questions aren't exactly listed anywhere. Basically i have just one year of web development experience using joomla , HTML ...
0
votes
1answer
2k views

Moving from PHP to ASP.NET [closed]

I have been working for a long time with PHP, and tried to be as good as possible on it (good coding practices, knowing how every request is handled from the start to the end, etc.), but now, for job ...
-3
votes
2answers
307 views

API for Hotels and Flights [closed]

I want to implement Hotels and Airlines in my web application.People will come and will search for hotels and airline's tickets and will compare result. What are the ways to get these informations? ...
2
votes
1answer
141 views

Dev environment different from testing environment

I'm working on a .net web app project where we develop on our personal machines, but our testing and production environments are in a corporate intranet. The problem is I run into bugs that only ...
2
votes
2answers
2k views

Object Initializer in C# problem with readability

I wonder if object initializing have some performance gain in ASP.NET website. I have an office mate that told me that object initialization is much readable and faster than constructor. But one of my ...
1
vote
1answer
98 views

Multiple visual studio projects/solutions on the go

I am working on a large asp.net app as a single developer. I will often work on a number of change requests concurrently. For example, a change required to the Finance component and a change ...
2
votes
3answers
544 views

How do I (php developer) work with an asp.net developer? [closed]

I'm a php developer working on a startup, and my friend, my partner(a developer also), who is building the startup with me, is an asp.net/C# developer. How do we work together collaboratively, as we ...
-4
votes
7answers
2k views

Unit Test OR Console Application [closed]

I am to write some one-off code in c#.net that will do some db manipulation of existing records and call a third party REST Api to update those records. I proposed writing a unit test that does it. ...
1
vote
4answers
332 views

Clever way to license/obfuscate web applications until the client has paid for it

I am doing contract work for various clients and I was wondering how best to go about safeguarding myself against non-payment. The projects will be ASP.NET web applications, most likely ...
0
votes
1answer
219 views

In which cases build artifacts will be different in different environments

We are working on automation of deployment using Jenkins. We have different environments - DEV, UAT, PROD. In SVN, we are tagging each release and placing same binaries in DEV, UAT, PROD. The ...
0
votes
1answer
328 views

Asp.Net MVC Windows authentication - vulnerabilities of http vs https?

I am developing an ASP.Net MVC 3 intranet site that will use Integrated Windows Authentication exclusively. What are the vulnerabilities of the challenge/response authentication traffic being sent in ...
3
votes
1answer
251 views

Architecture For Mockable DAL On Large Projects

I have recently been reading an article about creating a blog using ASP.NET and MVC, and in the article the user splits the Data Access Layer into a separate Class Library, and creates an interface ...
0
votes
4answers
3k views

How should I describe myself on my CV? As a software developer? A software engineer? A senior developer? [duplicate]

I know this has been asked a lot, but I'd like to know what to present myself as on my CV and to future employees. I'm 24, and began as a C#/ASP.NET developer after graduating from University in 2010 ...
2
votes
1answer
550 views

What mindset should an ASP.NET developer have in terms of client-side vs server-side code?

I'm jumping back into ASP.NET development after spending the past 7 years playing manager, dba, and winforms developer. I've dabbled with a few things web related, primarily maintenance of existing ...
5
votes
2answers
10k views

Jenkins to automate deployment of ASP.NET applications

Is there any possibility to automate/semi-automate deployments of ASP.NET web applications using Jenkins. It can be under controlled or uncontrolled environments, for uncontrolled user needs to enter ...