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

0
votes
1answer
21 views

Flexible authorization design in ASP.NET pages?

I'm developing an ASP.NET webforms application with pages which displays information based on the authorization level of the authenticated user (very typical). I will write a simple example of the ...
-1
votes
0answers
13 views

Why response from server ends (Threads abort) after consecutive page refresh? [on hold]

Background: I've an asp.net page, which contains an exit popup (fires before page is refreshed or closed). This page 'Post' the data and call an API to process payment (everything handled by API). ...
-1
votes
0answers
31 views

Creating a DFD for the first time [on hold]

I have been asked to make a dataflow diagram of a website I recently finished. I have researched it and honestly have came away with a vague understanding of what it should look like. I am going to ...
0
votes
0answers
37 views

Converting printable documents to TIFF in .NET [on hold]

I have been handed a requirement to convert a series of files into TIFF format as they come into my application. The requirement states that these files may originally be in any printable format ...
0
votes
0answers
36 views

SQL Permissions differ in SSMS and ASP.NET? [migrated]

I have created a schema and user called "WebAPI" which is used by ASP.NET project to get stock levels. So, I have simple stored procedure: SELECT p.ProductCode, SUM( sl.Qty ) AS 'Qty' FROM ...
0
votes
1answer
101 views

Export to Excel - threading

I am working on an ASP.NET application. One requirement by the users is they are capable of exporting to Excel of some UIs. I have worked on them using the Infragistics library, and I have supplied ...
-1
votes
0answers
22 views

providing feedback for file uploads [migrated]

When uploading files to a server what information should be provided to the user for feedback? I have created a website that allows users to upload files to a server. I would think a progress bar ...
0
votes
1answer
84 views

ASP.net performance code behind vs app_code

I am wondering about performance of a web site/application when there is code in the code behind files rather than when the code is moved to separate files in the App_Code folder. My understanding ...
1
vote
2answers
109 views

Testing ASP.NET .aspx and .ascx code behind files

I am wondering how to test .aspx.cs and .ascx.cs code behind. Can I use unit testing and if so how? Are there alternatives that will help test the functions in the code behind files? I don't know how ...
1
vote
0answers
97 views

How much segregation is too much in this design?

We are working on ASP.NET webforms application developed using WCSF (MVP pattern). In the application, there is a search screen that allows the user to enter some fields and display the results. We ...
-3
votes
1answer
38 views

Text field Form [closed]

I have 2 forms that have text input fields. One is written in JavaScript and the other in ASP NET. I would like to prevent a single symbol, the dollar or string "$" symbol from being entered into the ...
-1
votes
1answer
70 views

ASP.net/IIS runtime envitonment [closed]

I'm not too experienced in the regard of configuring IIS/ASP.net. A client has asked me to extend the functionality of a custom web application I didn't develop. Unfortunately, they don't have the ...
1
vote
1answer
87 views

How does user confirmation box work?

How does the client know to send request to server only when the confirmation box result is ok and stay on page if cancelled? Also, is this mechanism any different in ASP.Net and ASP.Net MVC? I want ...
0
votes
1answer
45 views

monitor .net web applications [closed]

I am a junior dev, I am on a team with an internal ticketing system (more/less) I want to improve our monitoring so that I can tell when functionality on my app is broken. current alarms only alert if ...
3
votes
1answer
45 views

Where should CMS data logic go

We have a large web site written in WebForms and have begun implementing some new modules in MVC. We have a custom CMS in place. I put the data structure to hold CMS data in a BaseModel class. Now I`m ...
0
votes
0answers
32 views

Single configuration file for multiple WCF services

We have a scenario where we have multiple WCF services hosted on the same server connecting to same database. But currently they all have their separate web.config files. So each time there is some ...
1
vote
1answer
124 views

Is there a best practice for populating a dropdown in ASP.Net MVC? [closed]

I'm coming into a project where the overlying method is to open the page, then use jquery AJAX calls to populate all of the dropdowns dynamically in the page. To me, this seems like an extra burden ...
0
votes
2answers
105 views

Push response to the user for which the request is created in Asp.Net (Chat Server)

I am working on a Chat Server Application in Asp.Net with C#. Suppose there are 5 users online say User A,B,C,D,E. Suppose A sends a message in chatbox to user B, so how the chatbox (Textbox/Textarea ...
0
votes
3answers
255 views

Software architecture which allows for growth, real life situation [closed]

I know of Interfaces, Abstract classes that serve as Base class, I've been reading up on loose coupling, ... But I can't come up with a decent solution when a property of a class changes, and the new ...
0
votes
1answer
179 views

Migrating old Asp.net 1.1 project to mvc 3 or 4

we have to migrate a very old project that are having more than 500 web forms and 400 tables and it is hugely depends on stored procedures, the current specification is: Asp.Net : .NET version 1.1 ...
0
votes
2answers
102 views

Upgrading old ASP classic to newer standards [duplicate]

For the past year I have been working in a Classic ASP \ ASP.net hybrid. The website has 1M+ hits daily. The code, as you can imagine, is very hard to navigate. There are 200+ files. Dozens of ...
0
votes
0answers
57 views

Using web api or libraries

We currently have 1 domain and 4 subdomains using 5 different applications. We are programming in asp.net and we have 6 different solution project. 5 applications and 1 solution for shared back-end. ...
0
votes
1answer
59 views

MVC Widget optimization when accessing CSS and Resources

So we're trying to re-imagine our web solution in an MVC fashion. Going from an old webforms based solution to working with ASP.NET MVC with a bootstrap main menu and adding functionality in the forms ...
2
votes
4answers
172 views

Storing web app passwords so that they can be retrieved

Short version My boss wants me to store user passwords for an ASP.NET Web Forms web app we're developing in clear text, so that a user with admin rights can click a button and get back the current ...
0
votes
0answers
158 views

What are the shortcomings of using AuthorizeAttribute in this way in MVC?

I have ASP.Net MVC project code with custom authorization as below: public class UpdateAccrualAuthorize : AuthorizeAttribute { public override void OnAuthorization(AuthorizationContext ...
0
votes
0answers
34 views

What is 'Asp.net Handler'?

I read in a book 'beginning asp.net 4.5 in c#' that when some one type the URL of the asp.net website, the browser send the request to the server and if the server find any ASP.NET markup or controls ...
1
vote
1answer
71 views

Share data layer for outsourcing project

We are a small team of programmers, and we are now facing a situation where we have to outsource some of the work in order to complete it in time. Project is about website that was previously build ...
2
votes
1answer
213 views

DI or Factory Pattern ? Both ? or a different apprach?

Lets say we have an abstract class called BaseSwitch, inherited by concrete implementations Switch A and Switch B, Each Switch representing a real-life switch (A telephony tool which among its ...
0
votes
2answers
392 views

If we close browser window without getting logout, what will happen when we provide same URL in the browser?

A few days ago, I appeared in an interview in a software company for .net developer. There I was asked the following question: If we close browser window without getting logout, what will happen ...
-1
votes
2answers
71 views

IS a command-line (Console) is important to learn for ASP.NET developer? [closed]

I saw many RoR developers use command line to interact with interfaces and to deploy their web applications. Is that necessary step to earn for asp.net developer?
-2
votes
1answer
102 views

Do I need any licence to develop web applications in asp.net? [closed]

My goal is to develop web applications for small companies, medical clinics, small supermarkets, etc. Do I or my customers need any license?
0
votes
1answer
161 views

Create ASP.NET input forms from XSD?

I have several types of XML document. The format of (i.e. the elements in) each document type is defined in an XSD. Is there a convenient way to create HTML elements (or ASP.NET controls) on an ...
0
votes
0answers
107 views

Should I start refactor this messy project even if I know I won't have the time to completely refactor everything? [duplicate]

I have this older project (1st release 2005-ish) I've inherited that a customer asks me to fix or add something to now and then. It's a bit of a mess architecture-wise. Basically it's an ASP.NET ...
2
votes
0answers
59 views

Best practice for copying static content between a web project and a self hosted EXE project

I have a visual studio solution that has, amongst other project the following three: NamespacePrefix.NancyFX.csproj: Some Nancy modules NamespacePrefix.NancyFX.IISHosting.csproj: A web solution to ...
0
votes
1answer
733 views

Custom Role Provider in ASP.NET MVC and specifically a User having multiple Roles

I have searched around and I can't find any particular answer that addresses what I am asking but no doubt it will have been mentioned already somewhere. I know that when you inherit from an abstract ...
0
votes
1answer
143 views

How can you add acknowledgement functionality to a Command pattern, given the response from receiver is gotten asynchronously on Server?

I have a scenario where I will implement Command pattern like described in this article. Actually from an Asp.Net MVC view, some user will invoke different commands/actions like Start Live Video, ...
0
votes
1answer
105 views

block access to area/controller's methods but allow inherited controller to run methods, asp .net mvc5

I am trying to find out how to block a whole area/controller from being accessed by typing url website.com/area1/basecontroller/method1 (this area also contains the views that will be displayed) , ...
3
votes
1answer
72 views

UI requires data of certain types. Can it go in a SPROC?

I'm actually arguing against this, but want to see if I'm out of line. We have a PaymentQueue table and a simple UI. This table is, at the moment, primarily used by the UI and no other business ...
2
votes
2answers
338 views

Combination of asp.net server side + html/js/jQuery client side

While working with asp.net, I came to an approach that uses asp.net services for the data/business logic layer and html/javascript/jquery for the UI layer, because I could not reach the needed level ...
0
votes
1answer
264 views

Database Context and Singleton injection with IoC

All of the below relates to a ASP.NET c# app. I have a Singleton Settings MemoryCache that reads values from database on first access and caches these, then invalidates them using SQL Service Broker ...
1
vote
2answers
94 views

Should db be mapped directly to the UI or should there be multiple layers of enties/models with mappings to/from each?

I would like to know arguments for/against this concept. Technologies in use from the bottom up: MSSQL 2012 DB (exclusively accessed via sprocs) Entity Framework WCF Web Service ASP.NET Webforms ...
0
votes
1answer
97 views

How to verify if 3rd party payment succeeded?

A more specific version of this question was kicked off of StackOverflow so I hope this is now the right place for this question. I'm working on a payment processing website that will function like ...
3
votes
2answers
190 views

Build times for small incremental changes to C# Web Applications

I have recently been moving away from ASP.NET Websites in favor of Web Applications. More specifically I have recently been picking up MVC as an alternative to developing ASP.NET Forms websites. ...
2
votes
4answers
621 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 ...
1
vote
1answer
562 views

Routing the requests of multiple domains to multiple routes using ASP.NET MVC

I will have one Ip and diffente domains (one per customer) pointing to that Ip. I will run an asp.net mvc website, I would like to route the incoming requests to different applications paths. ...
3
votes
2answers
230 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
2k 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
1k 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
150 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
2k 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 ...