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
1answer
27 views

Porting Silverligtht application to web application with Asp.net and HTML 5

I work as internal software developer. We used Silverlight to build our application, but we have been asked to start considering their replacement. Currently our set-up is: Silverlight application ...
2
votes
3answers
215 views

Refactoring web pages with user controls

Is it good design to use many user controls to help refactor a web application? In my case, it's a VB.NET Webforms ASP.NET website. All our pages are organized into sections that, while related and ...
2
votes
1answer
659 views

Confused on how to properly employ a Repository Pattern with Service/Business Layer on top

I'm building a ASP.NET Web Api 2 solution for learning purposes, and I've hit a snag. I was wondering if anyone could tell me what exactly it is that I'm missing. My Web Api solution has 4 Layers: ...
2
votes
1answer
175 views

Standard ways of revoking user access to a site

I'm in the process of building a .NET MVC website where a requirement is that admin users should be able to lock accounts to not only prevent future log-ins but to also immediately revoke access to ...
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 ...
2
votes
1answer
110 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) ...
2
votes
1answer
472 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 ...
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 ...
2
votes
1answer
984 views

How to host a site in another site - with little or no coding

SUMMARY: All of these happens on Site A User visits site A User enter username and password User click on Login Button User authenticated on Site B behind the scene User is shown a page on Site A ...
2
votes
3answers
299 views

Usage of repository between EF model and code consumer

I have binary data in my database that I'll have to convert to bitmap at some point. I was thinking whether or not it's appropriate to use a repository and do it there. My consumer, which is a ...
2
votes
1answer
612 views

Best Practice of making a Composite Control with a repeater activity

Best Practice of making a Composite Control with a repeater activity It's Templated-Based, have paging support via a DropDown and 2 Buttons It should have Event-Handling also Needed to work as a ...
2
votes
0answers
79 views

ASP.NET how to handle external application settings

I'm converting an application from C# WebForms to MVC. The application gets settings from a centralized location using Web Services. These are settings you would typically find in a Web.Config, but ...
2
votes
1answer
254 views

How to handle hidden folders on deployed website

Our security team at work did a security scan of our soon-to-be-deployed website and one of the items that was found was "Hidden Directory Detected". It shows up for 3 different folders, ...
2
votes
0answers
132 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 ...
2
votes
0answers
143 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 ...
2
votes
1answer
519 views

Is Google's Page Speed not working fine?

I've been making small improvements to a public ASP.NET site that I have and have ran it through Google's online Page Speed several times. I have a specific problem, but something that really threw me ...
1
vote
4answers
1k views

What is the meaning of driven ? (test-driven , data-driven, event-driven and etc)

I was reading a paper that makes a comparison between ASP.NET Web Forms and ASP.NET MVC. While reading it, such as data-driven, event-driven, test-driven are the terms that I see a lot. So what are ...
1
vote
6answers
453 views

Trying to learn ASP.NET [closed]

I have a background in computers and have programmed for about 7 years. I switched careers, and became a Technical Writer, and now think I should jump ship again, back to being a programmer. Of ...
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 ...
1
vote
3answers
543 views

File storage for a blog component: database or filesystem?

I'm going to develop a fairly basic re-usable blog component, with simple CRUD operations using ASP.Net. Which method of storing blog posts would be best suited to the situation in terms of ...
1
vote
3answers
2k views

is there a security issue when using Jquery to develop asp.net web applications

I'm new to web applications. I have developed a web application using ASP.net. After hearing about jquery and going through some examples, I changed the existing application and used jquery to do most ...
1
vote
3answers
600 views

Confused about the different terminology with .NET

What is the difference between .net and asp.net? Which role does PHP more closely fill? If someone was developing a website using asp.net and C#, how would you communicate that idea to a colleague, ...
1
vote
6answers
967 views

How important is it to learn jQuery with ASP.NET

I'm reading a chapter on jQuery in a ASP.NET book. To be honest I'm finding it quite boring. How important is it to learn jQuery? And do many ASP.NET developers use it for their pages? Regards TDG ...
1
vote
2answers
265 views

Email service or simply abstract email out and call from?

Got a fairly large web application in asp.net using C#. Also have a mobile setup using a common api that we wrote to basically share data across both of our apps using web methods and common classes. ...
1
vote
5answers
1k views

ASP vs javascript vs jQuery vs User Controls vs AJAX

Increasingly when developing sites I find myself utilising more client side technologies such as Javascript, jQuery and AJAX. For three different pages I measured the size of the HTML sent to the ...
1
vote
6answers
1k views

Wise way to implement a website login and database tables for a small shop

Im building this website for a small store and I was told that its better not to keep the login and the rest of the users information on the same table. Now im wondering, what is the best way to ...
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 ...
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, ...
1
vote
3answers
3k views

Best practice for using a user control across many projects

I have a messaging User Control, that is used across 4 projects, and for each change I have to propagate it in 4 places. This is obviously against the DRY principle. However, centralizing user ...
1
vote
1answer
94 views

Layers of confusion (abstraction)

I have been assigned to a project where the end-product is a website as a music community. So it's uploading of music, sharing it amongst other users, listening to music from the website and so forth. ...
1
vote
1answer
218 views

Why is String Templating Better Than String Concatenation from an Engineering Perspective?

I once read (I think it was in "Programming Pearls") that one should use templates instead of building the string through the use of concatenation. For example, consider the template below (using C# ...
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
3answers
7k views

How to increase the speed of the page loading in ASP.NET? [closed]

I am .net programmer using Asp.net ,C# and Sql server 2005 to display set of information. My project is to create tools for Call Center Systems in my office. Now i am have created the project. but ...
1
vote
5answers
4k views

Does AJAX need to use a server-side language such as PHP/ASP.NET/Java to access a database?

Does AJAX need to use a server-side language such as PHP/ASP.NET/Java to access a database? Or some sort of web service tied to these languages? Or is AJAX able to communicate directly with the ...
1
vote
3answers
523 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 ...
1
vote
3answers
985 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 ...
1
vote
2answers
741 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 ...
1
vote
3answers
387 views

Using TSQL for the first time some basic instructions

I am writing an application that will use many tables and I've been told that I must not use stored procedures in this project because it will be too slow. It has been suggested that I use TSQL. I ...
1
vote
2answers
267 views

Are there any good editors for asp.net on smartphones?

I came across coderun the other day does anyone know any better editors/ide's espeially that can be used relatively easily on some of todays smartphones for asp.net ?
1
vote
1answer
84 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 ...
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
1answer
537 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++; ...
1
vote
3answers
2k views

Why is C# ASP.NET generally not regarded as a rapid web development framework?

The terms rapid web development gets associated with Python/Django and ROR. Why is this not the case with C# ASP.NET?
1
vote
2answers
1k 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
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
453 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. ...
1
vote
1answer
79 views

Clarification on MVC Architecture Overview

I'm doing an MVC 4 architecture diagram for a report and since I'm relatively new to MVC,i was wondering could some one clarify with me is REST (HTTPPOST etc) between view and controller, or ...
1
vote
2answers
126 views

Asp.net caching strategy/pattern

In my WebApi controller I have the following (pseudo) code that receives update notifications from Instagrams real-time API: [HttpPost] public void Post(InstagramUpdate instagramUpdate) { var ...
1
vote
1answer
204 views

ASP.NET MVC: Auto-generating UI from data models [closed]

I'm a novice ASP.NET MVC programmer coming from the .NET Desktop world. In my desktop applications, I auto-generate a lot of UI: create a data model, add some attributes, and off you go. class ...
1
vote
1answer
805 views

Implementing a tricky REST API with ASP.NET Web API

I'm trying to build a RESTful API using ASP.NET Web API for a game, and here are the methods I have so far: /games GET /games/:id GET /games POST /games PUT /games DELETE /users GET /users/:id GET ...