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
0answers
35 views

Wanted to do some microsoft certification in web application developement [on hold]

I am a computer science graduate from Mumbai university and working as a web developer since last 2 years 6 months and continue. For the sake of career growth, I wish to do some certification to ...
0
votes
0answers
4 views

German Characters in VB.net always displaying square box [migrated]

We have a problem with German Characters in VB.net it always displaying square box. We have an oracle database which the application is connected to. There is an existing PHP application that ...
2
votes
1answer
39 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 ...
0
votes
0answers
29 views

Dynamically updating a UserControl in ASP.net [migrated]

I am new to Using ASP.net WebForms and I'm trying to dynamically update a UserControl which is added to a placeholder. The example I'm working on doesn't update, although the event 'onTextChanged' is ...
1
vote
1answer
86 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
1answer
26 views

asp.net tracing custom implementation

I want to do event tracing in asp.net. That is whenever any method is called, i want to log some method specific details into a text file like method name, return value e.t.c But, as requests will ...
1
vote
2answers
128 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 ...
2
votes
2answers
115 views

Where is the entry point for ASP.NET MVC's HttpContext?

I've got some custom FormsAuthentication with a custom AuthorizeAttribute where I'm maintaining the cookie manually, but I'm doing it within the filter's context. What I want to do is move this to ...
1
vote
1answer
87 views

When and why to use Page.ResolveUrl

So, i had a discussion with a colleague on why and where should we use Page.ResolveUrl("~/PageUrl.aspx") instead of ./PageUrl.aspx. For example, are there any differences between: <a ...
1
vote
1answer
97 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. ...
0
votes
2answers
435 views

Manage content for multiple websites and mobile apps

I need to manage content (pages, key/value list, assets and more) in one webbased system for multiple websites and mobile apps. My idea is to create a web api, secured with tokens for apps and sites ...
3
votes
3answers
184 views

Anything wrong with direct evaluation of JSON if your own code created it?

Suppose I have a server-side variable containing JSON (named strJSON) that my own code created. In JavaScript I can consume it like this: var data = <%= strJSON %>; or use a JSON parsing ...
1
vote
2answers
165 views

Sharing code logic between controllers, through the Model layer?

As I originally conceived my Model layer, it was only supposed to hold data and no code. I receive DTOs from web-services, they are mapped into my Model objects. Those model objects usually end up ...
1
vote
4answers
63 views

When to use controllers in mvc

I am studying mvc5 in asp.net and wondering if there is a general rule when to use a controller. If I have a business object like Employee will I create a controller named Employeecontroller? But why ...
4
votes
1answer
225 views

Should I be using separate 'domain' layer?

I have been reading a lot about domain layer and DDD. However I am still confused about it. To me they seem to be a fancy name for business classes however more modelled towards your application ...
2
votes
3answers
293 views

How to implement the repository pattern for an app that will change its database from sql to nosql on in couple of years?

I have been reading a lot about repository implementation. I am confused about which way to implement it for a project I am sure would change its data layer methods because of db migration from MS Sql ...
3
votes
1answer
130 views

Web API Design advice

I am developing a Web API as services layer for a ASP.NET web forms application. There are two controllers ContractorController (gives details about the contractor) and PaymentsController (gives ...
-1
votes
1answer
88 views

What changes in .NET software architecture have taken place in the past couple of years?

I've been away from hands on development work for the past couple of years and focusing more on delivery management. I'm looking to get a couple of new projects ASP.NET MVC apps off the group and I'm ...
0
votes
2answers
65 views

Releasing updates to Windows Services and Websites from build

I've got an solution which consists of Windows Services and websites. When updating the applications currently, the following steps are undertaken Build of solution Post build tasks copy the DLLs ...
-1
votes
1answer
78 views

Asp.net Web Form for Local Use [closed]

I am trying to build an Asp.Net Web Form project to use at my job. We work with a lot of excel files and a large task for me and others at my company is combining/comparing/updating data in these ...
1
vote
1answer
1k views

Two way Communication between Server and Clients

Situation: We have a web application running on a server. This application needs to fetch data from some other PC(Clients), which are on a different network. On the clients' pc there are WCF hosted ...
0
votes
1answer
67 views

Asp.net Web Api Controller design

I am developing services using Asp.Net Web Api. I am debating on design of our controllers. We have this common scenario where user will be presented with bunch of search field, once he enters the ...
0
votes
1answer
91 views

Generating URL's that fill forms on my site

I have a asp.net web forms page where admins can search by user last name and then select them and approve or deny their access to the site. When users request access, an email is sent out informing ...
3
votes
3answers
384 views

What kind of user info is ok to be stored as plain text in SQL Database?

I'm practicing around building e-commerce asp.net applications that allows for users to register to the site and their user credentials are stored in a MySQL database. In my sample project the ...
11
votes
2answers
854 views

Storing 5000 elements on client side in a web application [closed]

I just had a phone interview for ASP.Net developer, after initial introductory stuff the interviewer ask me first technical question: "How would you store 5000 elements on client side for each user ...
1
vote
1answer
140 views

Implementing “Trending Items” using linear regression in SQL Server

I'm building an MVC .NET website where people can rate and review movies (similar to IMDb). I'm using SQL Server for the back-end. I'll be implementing a feature where the homepage displays trending ...
7
votes
3answers
2k views

How do big companies maintain their products' source code without it falling into wrong hands? [closed]

I am developing a web application by using ASP.NET. I would like to hire some developers to speed up my process but I am afraid what If my members take my code and go away? I am just wondering how big ...
1
vote
1answer
209 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 ...
3
votes
0answers
238 views

OAuth shared Authorization server for multiple apps

At my shop we have a couple .NET Web APIs that use OAuth tokens for authentication. Currently, each web API is both authorization and resource server. Users authenticate to all of these APIs using ...
3
votes
3answers
228 views

Calling Web API vs adding reference to underlying dlls

This is more of an Architecture question, and I want to know all the possible pros and cons of the approach. In my org, we have an ASP.NET Application say "A", a Web API Project say "W", and ...
-2
votes
2answers
121 views

Do I have to distribute my code if I use GPL based jquery controls in my commercial application

I have been thinking about using 3rd party GPL based jQuery controls in our in-house ASP.NET project. As far as the 3rd party license is concerned, I think I can use any jQuery controls in my ...
0
votes
0answers
88 views

Creating a user-customizable web api

Technologies: Javascript for $http call, ASP.NET Web API, MSSQL for data retrieval Web API will return array of widget objects with following properties: WidgetId, WidgetAttribute1 Bool, ...
3
votes
1answer
336 views

Web Forms and MVC in the same web project

I'm working in a large legacy project which was build with ASP.NET Web Forms and the idea to add in the MVC libraries to the same project has been tossed around. I know that this is possible (there ...
1
vote
1answer
186 views

Why does a custom action filter need to inherit from both ActionFilterAttribute and IActionFilter?

I m first time creating a custom action filter and following this link http://www.asp.net/mvc/overview/older-versions/hands-on-labs/aspnet-mvc-4-custom-action-filters They are saying to Extend ...
-1
votes
1answer
169 views

Stored procedure in asp.net webforms [duplicate]

Previously while working on database in asp.net I was using stored procedure with no tier architecture. So I was including connection string, crud query etc in every button click event. Then I was ...
1
vote
1answer
841 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 ...
2
votes
3answers
221 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 ...
0
votes
0answers
178 views

Row and Field level Security Management through Code First EF, WebApi2

I could not find such question specific to asp.net webapi row level security on SO. I am building an API through .NET Webapi2 with Entity Framework. I am trying to assess various options that are ...
5
votes
2answers
5k views

Should an ASP.NET MVC application directly use Entity Framework as the model?

I'm building my first MVC application in Visual Studio 2013 (MVC 5) and I'm a bit unclear on the best way to setup my model. I've generated an entity framework model using code-first from an existing ...
-2
votes
1answer
336 views

How to access client application (Scanner or .exe) which are installed on client machine using Asp.net web application [closed]

How to access client application (Scanner or .exe) which are installed on client machine using Asp.net web application? I want to Access Scanner which are installed on client machine. I'm using a ...
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. ...
2
votes
0answers
80 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 ...
-1
votes
1answer
120 views

How to design RESTful URI to get all unread messages?

I'm developing an ASP.NET MVC Web Api 2 with .NET Framework 4.5.1 and C#. I have these entities in database: Users, which are members of groups. Groups. Messages. Users can sent messages to a ...
0
votes
4answers
260 views

How to design RESTful Web Api to represent Resources

I'm developing an ASP.NET Web Api 2 RESTful web api with .NET Framework 4.5.1 and C# and I'm trying to understand how to expose resources through a Web Api: Imagine that I'm a group owner and I am ...
0
votes
1answer
497 views

REST API design for associations/aggregation

I am building RESTful API that manages persons and lists. There can be many List and many Person each with its own set of properties. Person can be in zero or more lists, List can contain zero or more ...
1
vote
1answer
191 views

Git-based storage and publishing, infrastructure advice

I wanted to get some advice on moving a system to "the cloud" ... specifically, I'm looking to move into some of Windows Azure's managed services, as right now I'm managing a VM. Basically, the system ...
-2
votes
1answer
497 views

Single Identity for Desktop and Web [closed]

I'm building a system has both a WPF desktop application as well as an Asp.net MVC application. I need a common user identity component so that user can log on to either one with the same ...
0
votes
0answers
233 views

How to implement “email invitation” feature using Asp.Net Identity Framework 2.0 and OAuth?

My engineers are implementing authentication and authorization using Asp.Net Identity Framework 2.0. The requirements state that we need to support the following scenario: Global admin user signs ...
0
votes
1answer
459 views

WCF vs Web API, Deeper details? [closed]

Before I continue, I just want to mention I have heavily researched and searched on this topic, but I need the opinion of people who have worked/and or have practical knowledge with regards to this ...
1
vote
1answer
234 views

Domain model for a notification system

I'm trying to build a modular notification service in a ASP.NET MVC web application. The application generates notifications and the service is responsible for delivering the notifications to the ...