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
14 views

Security error on asp.net system after deployment of bug fix dll

I (recently inherited) a asp.net web application in production. After fixing a generic bug in the area of making a table selection - we have a problem regarding security policies not allowing access ...
-4
votes
0answers
40 views

Is .net Identity 2.0 good for enterprise application? [closed]

We need to develop enterprise application with rich user management and authentication rules. We need: 1. Use local and OAuth login. 2. Permissions system for each claim/control with admin panel for ...
0
votes
1answer
61 views

Is it good practice to encapsulate communication with web service?

I'm working on a ASP.NET application that is required to communicate with a Flask web service. My initial thought was to include the communication with web service directly into the aspx file, ...
5
votes
2answers
89 views

Where to put the Angular app in a ASP.NET Web API solution?

I'm starting a greenfield app and I want to use ASP.NET (4.6) and Angular 2. For the backend I have created a project in Visual Studio, and now I'm wondering where to put the Angular app. I really ...
7
votes
2answers
97 views

Strategies for investigating performance of an ASP.NET web application running under .NET 4

I'm trying to compare the performance of an application that has recently been converted from .NET2 to .NET4. From my perfomance tests it seems that although page response times are generally a bit ...
4
votes
1answer
155 views

How to build notification system in Azure

I have a system running in Azure that accepts messages via a REST endpoint. The customer has a certain number of devices that send some data for example temperature and we present this data in a web ...
4
votes
1answer
113 views

When starting a new ASP.NET application, what changes when I change from .Net 4.5 to 4.6.1 and why is 4.5 the default?

Using Visual Studio 2015 update 2, creating a new ASP.NET 4.x application, the default .Net "Target framework version" is 4.5. Is it a mistake to bump this to 4.6? I did my own research, and I am ...
5
votes
3answers
388 views

Is it ok to have a class that only has boolean properties?

Scenario We have a class Vehicle, this class contains some properties to define the object such as a CarBrand, TransmissionType, Color, etc.. A car (vehicle) also has options, these days a lot of ...
0
votes
1answer
54 views

Sequence of Integration Test in Build Process

We are developing a Web API (ASP.net, C#) project and use Bamboo CI for our continuous Integration. We run the Unit test before the deployment task so that deployment does not happen if test fails. We ...
2
votes
2answers
166 views

ASP.NET storing encrypted & salted Password

I have a question about storing encrypted passwords in your database to help secure them. I have a class that encrypts the password passed in and returns a string. This string has 3 parts too it, all ...
-2
votes
1answer
46 views

logging for an web application deployed on multiple nodes

My production setup involves four servers running behind load balancer. I have same set of web applications deployed on all four servers. The log files generated on one server are completely isolated ...
1
vote
4answers
414 views

Should I check for software on a users machine via a web browser?

There has been a discussion recently (with my colleagues) on whether or not checks should be performed on client machines to check for specific software, within a web based platform, mainly because we ...
4
votes
1answer
135 views

A manual and automated CSV file upload solution for a website

Problem I run a website which has a requirement for a new feature - to enable users to upload CSV files into the website. The users will only ever need to upload 1 CSV file at a time, and only 1 or 2 ...
0
votes
1answer
126 views

What's the most straightforward way to integrate my company's custom authentication with ASP.NET SSO?

My company has a series of WinForms applications that pretty crudely provides authentication by checking usernames and passwords directly against the database (with a little hashing). I have a fair ...
3
votes
2answers
166 views

Best Practice for masking Credit Card informations in Web Api 2

In an Asp.Net Web API 2 project, We're logging every http request and response with log4Net. Some controllers have critical parameters such as "CreditCard, CVV, Month, Year" etc. This data should not ...
7
votes
4answers
6k 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 ...
0
votes
0answers
65 views

Bringing in unit test code with Mocking Frameworks in an established ASP.NET C# software application

Here is the information about my development environment: MongoDB 3.0.0 MongoDB C# Driver Version 1.7.0.4714 Microsoft Visual Studio Professional 2013 .NET Framework 4.0 We are about to do our ...
1
vote
0answers
52 views

Idiomatic way of uploading images using async to Sharepoint from ASP.NET 5

Another title could be 'How to make an async Repository pattern with image upload in ASP.NET 5' I'm making a site with ASP.NET 5 and it uses the CSOM (ClientContext, etc) to connect to a Sharepoint ...
0
votes
1answer
67 views

Why storing a payroll in XML type field would be good or bad

We have a PAYROLL issues by the client to make it dynamic i.e. to make the whole process computerized. It includes: Employees Allowances (Scale wise, which could change yearly or monthly or ...
0
votes
0answers
134 views

Winform User Control on ASP?

I wrote a C# Winform User Control as follows when Executable is Run: My question is how we can use this Winform C# user control in one ASP Page. I know about WEB User Control and using in ASP but ...
5
votes
3answers
5k views

What's the difference between ASP.NET Web Applications and Websites? [closed]

Currently, I am reading Pro ASP.NET 4 in C# and in it, two ways of creating a web application are described: Website Web Application Project In which scenarios should I choose the former over the ...
7
votes
1answer
747 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 ...
0
votes
0answers
77 views

Best way to create some dynamic input controls?

In my web app, a user will enter a quantity. Based on their input, a number of input boxes will be created/displayed, and the user will enter values into those inputs for the system to process. ...
6
votes
1answer
355 views

Does unused code affects the assembly after startup (Memory for example)?

Disclaimer: I come from a PHP background. In PHP, I could have thousands files, which are never loaded, if not needed, due to the autoloader feature (If some code is needed, it would be loaded) How ...
0
votes
1answer
199 views

Security aspects of an ASP.NET that can be pointed out to the client

I need to write several passages of text in an offer to the client about the security layer in ASP.NET MVC web solution. I am aware of security that comes along with MVC 3 and an improvements in MVC ...
23
votes
4answers
3k 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
1answer
521 views

Best way to get push notifications to server from ms sql database

I partially found solution to my question but I'm not really satisfied with the result. My application consists of ASP.NET MVC + MS SQL Server. The case is as follows: External app saves data ...
0
votes
0answers
24 views

Could a simple adaptivity in the content be achieved with SQL Queries?

I will explain this with Stackoverflow example (My application is an ASP.NET application). So, based on the questions I have asked, answered, or viewed, could SOF recommend me some questions in the ...
-1
votes
2answers
160 views

Creating an ASP.Net MVC web application that can work on different operating systems

I have been developing and deploying many ASP.Net MVC web applications under Windows Server 2008 R2 & Windows Server 2012 R2, and I used IIS 7 & IIS 8. At the same time I know that I can ...
2
votes
1answer
412 views

Proper use of model in asp mvc

What is a proper use of model in asp mvc? Should a model contain only data that will be accessed inside a form, or it is also a good idea to put data that are static and would be used in a view, but ...
2
votes
2answers
203 views

How to build a product modeling framework

We have a legacy ASP.Net application (written in c# a few years ago) which allows a factory manufacture a number of custom-made products. Different attributes such as color, length, width, etc. are ...
7
votes
2answers
4k 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 ...
1
vote
1answer
82 views

Access rights through database table

I made a login system with access rights (ASP.NET WebForm) and I store the info's in a database table. I don't use the built in feature of asp.net like Forms authentication and webconfig. My question ...
0
votes
2answers
1k views

A CLR SQL Server Stored Procedure calling an ASP.NET Web API

We are developing a big system with SQL Server database, ASP.NET Web API 2.2 services and another external services. We need to load more data on a table while we process the current data on it. To ...
15
votes
0answers
11k views

How do you do ASP.Net performance testing? [closed]

Our team is in need of a performance testing process. We use ASP.Net (both web forms and MVC) and performance testing is not currently built into our projects. We occasionally do some ad-hoc analysis, ...
3
votes
1answer
199 views

Who does what in a Single Page Application? [closed]

My development background is in ASP .NET webforms. I've been reading various SPA tutorials but they always get into the weeds about specific javascript libraries. I'm just trying to understand what ...
1
vote
3answers
207 views

I have one app on one server - is there a critical reason to use a web server like IIS or NGINX? [closed]

Considering the following For a stack: ASP.NET/MVC5 WebApi with Single Page Application (SPA). This typically must run in IIS or hosting container (OWIN). I want to deploy multiple web application ...
3
votes
2answers
824 views

Data transfer between “main” site and secured virtual subsite

I am currently working on a C# ASP.Net 3.5 website I wrote some years ago which consists of a "main" public site, and a sub-site which is our customer management application, using forms-based ...
1
vote
1answer
112 views

Data stored in two separate tables, how to select the right table

I have two Tables T1 and T2 in which, where in T1 contains column name 'Year' which saves year information and T2 contains column name as 'P_year' which saves year information. In the Table T1, I ...
1
vote
2answers
307 views

User and role modeling

I'm working with a system in ASP.NET MVC, with Entity Framework for ORM. The application has a requirements to allow users to have different types of roles, and authorization rules will be different ...
1
vote
1answer
189 views

OPTION STRICT set to off [closed]

I am working on an application with over one million lines of code. OPTION STRICT is set to off!. I want to set it to ON during the next work iteration. I believe the only reason OPTION STRICT ...
2
votes
3answers
842 views

Multi user website for MVC project: one, or multiple solutions?

We're starting a new MVC 5 project that will ultimately consist of 4 websites depending on the kind of user: One internal, for company employees. One for agents, independent contractors that work ...
2
votes
3answers
2k views

Difference between 3-Tier architecture and MVC (Model, View Controller) in ASP.Net

I would love to know how the 3-Tier architecture differs from MVC (Model, View Controller) in ASP.Net as it seems to me that the same architecture applies. In 3-tier we have User Services Layer, ...
1
vote
0answers
225 views

ASP.NET, OWIN, and self hosted web interfaces [closed]

I would like to develop a web browser based interface that can be accessed locally and remotely for a C# console application. I would love this to be a light weight, self hosted app if possible (as ...
4
votes
2answers
931 views

Benefits of using separate API and UI servers for Web application

At work, we have a large internal application which has been under development for close to 2 years now; I've just recently joined the project and some of the architecture has me slightly perplexed, ...
0
votes
1answer
115 views

storing single character value use string or int C# [closed]

While storing single character value for the purpose of status, gender, delete_flag etc. which is better data type string or int. Suppose :: status = A/I or status = 1/0 gender = M/F or gender = 1/0 ...
1
vote
0answers
170 views

ASP.Net MVC - Implementing a Test Environment

I would like to implement some sort of test environment for ASP.Net projects. I am trying to implement this as an alternative to mocking the entity framework. Here is what I am trying to achieve : ...
2
votes
1answer
157 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 ...
7
votes
1answer
319 views

Never using Models, only ViewModels

I'm starting a new MVC 5 project from scratch. I'm using EF 6 (Database First) and Identity 2.0. My solution consists of 3 different projects: Data (where I have a .edmx and my DB context), Resources ...
0
votes
0answers
34 views

How can I cleanly handle a several permutations of Resource Request, (Optional) Login Control, Resource Result?

Whenever a user interacts with a resource while not logged in, I need to: Redirect them to a secure page. Show a signup/login dialog (which is usually partially customized based on the resource, ...