Skip to main content

Questions tagged [asp.net]

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. ASP.NET is built on the Common Language Runtime (CLR), allowing programmers to write ASP.NET code using any supported .NET language.

Filter by
Sorted by
Tagged with
1 vote
2 answers
184 views

I am building an ASP.NET Core 10.0 web-app using .NET's MVC model w/ Kestrel to serve it. The app will deploy on an Azure VM. It's a personal project, therefore, I decided to go with Cosmos DB as the ...
JAYD3V's user avatar
  • 119
2 votes
3 answers
118 views

I'm working on a project for our healthcare clinic's software and could use some guidance. For regulatory and historical purposes, patient charts need to remain as "static" records—...
idiotappowner's user avatar
3 votes
1 answer
455 views

I'm seeking advice on the best approach to upgrade a legacy .NET Framework project to a newer version. The project currently consists of over 80 projects, and a complete rewrite would be a time-...
Asdrubal Hernandez's user avatar
0 votes
1 answer
170 views

Context: I have an API (using DDD) with an entity lets call it "Content" that only can be update by certain users. For example Content with Id = 1, can only be modified by User Id = 1, ...
Danielbahe's user avatar
1 vote
1 answer
165 views

I am building a web application with the React + ASP.NET Core template. The application will have a form for uploading recipes, including an image. I am hosting the application as an Azure Web App (...
Jakob Busk Sørensen's user avatar
0 votes
1 answer
137 views

I need assistance with the QueryBuilder that generates OData query. Following is my implementation and it approach has couple of issues If user forgets to SetRootTable then it will cause serious ...
Sunny's user avatar
  • 945
0 votes
1 answer
140 views

I need some guidance on how to send error responses to client from WebAPI controller for an update operation. I need to check if data is changed and if it has duplicate data. I have service class that ...
Sunny's user avatar
  • 945
0 votes
2 answers
833 views

Suppose we are building a REST API with ASP.NET Core. Suppose there are 3 projects in our solution: The ASP.NET Core Web API project. A class library project for the businnes layer. A class library ...
user1969903's user avatar
-1 votes
1 answer
68 views

I'm doing a project to teach myself more about MongoDB and ASP.NET development and I am stuck. The project is a mockup of a JobBoard website, where Companies would post offers for potential Employees. ...
AdrianIT's user avatar
0 votes
1 answer
611 views

Currently, I'm designing the Project based on Clean Architecture composing with 4 layers: Domain Application Infrastructure Presentation Since the project is pretty huge, I'm now considering to ...
Steve.NayLinAung's user avatar
2 votes
1 answer
5k views

Background We have a number of backend api's that do work; some connect to equipment, some store data, etc. The original setup was each service was a native c# asp.net 6 minimal api running on a ...
Felix Castor's user avatar
-2 votes
1 answer
130 views

I'm trying to develop a CRUD feature for an ASP.NET app that lets me manage customer information. Each customer can be subscribed to one or more services, and each service can have one or more terms. ...
David's user avatar
  • 1
0 votes
0 answers
426 views

I want to know the best Practice is about having multiple dto’s for different use cases. Let’s say we have an api with a set of controllers to handle requests coming from a administration backend and ...
Martin C's user avatar
5 votes
5 answers
20k views

We had a conversation (with coworkers) about why we needed to use Singleton for Controller, Business Services, and Repositories. The reason for this, they claim, is because singleton ensures that code ...
Udemytur's user avatar
  • 205
0 votes
1 answer
278 views

Backstory: My new employer has Dynamics CRM on-prem and it is used by all office staff and other colleagues that are consultants. All other employees are a working force out on various construction ...
MrDim's user avatar
  • 1
2 votes
1 answer
3k views

In our ASP.NET Core application, we have many APIs which are calling public method from the service class. Service class is implementing an Interface. Each service method (depending upon complexity ...
WAQ's user avatar
  • 123
4 votes
2 answers
3k views

Model View Controller (MVC) is focussed on UI based applications. In MVC the model notifies the UI (view) when its values change and the view then decides what and if to update. I can understand this ...
Eoin's user avatar
  • 329
0 votes
1 answer
832 views

I am working on removing obsolete/unused pieces of configuration from a .NET product starting with appSettings. There are multiple solutions and I've noticed that appSettings can be in a .config file ...
Astrophe's user avatar
  • 113
1 vote
2 answers
397 views

I have been creating new ASP.Net web apps for my workplace intranet (it is a closed system, not accessible to customers) and also re-creating some existing Windows programs as web applications. One ...
BreakingGnus's user avatar
1 vote
1 answer
6k views

I know the lifetime of the controller class is transient by default, but I think it's better to be singleton. should explain to me why creators choose transient instead of singleton or scope lifetime? ...
Mujan's user avatar
  • 141
0 votes
2 answers
81 views

I have a notifications app which sends users notifications. It uses a .NET core backend, an angular frontend and Cosmos DB. Within this I have an API endpoint function which is linked to a button used ...
Watchdogs1499's user avatar
-1 votes
1 answer
285 views

In Visual Studio, ASP.NET MVC project template is designed for MVC pattern, but what about ASP.NET Web API project template? I know that we can create API from MVC project, also we can build MVC app ...
veryfreaky's user avatar
1 vote
2 answers
141 views

In an ASP.NET MVC 4 REST API application, we have SQL errors which are occuring during the request. However, since the requests are big, we are streaming the data back to the client, which means we ...
drew's user avatar
  • 29
-2 votes
1 answer
68 views

I have a website that was writing using .net stack technologies. It is accessible via the internet. Some of my potential (Enterprise) customers want me to install the whole website on their own VM and ...
Sanprof's user avatar
  • 107
4 votes
1 answer
879 views

My question is regarding caching and ViewModels in ASP.NET (Core) MVC. I have a service which injects a Repository<T> which is used to fetch domain models from the database. The service layer ...
Duane's user avatar
  • 149
1 vote
1 answer
217 views

I'm having trouble defining this problem space (example below), where to look, what to search etc. and would appreciate any help with suggestions of algorithms or libraries that I should look into. I'...
3r1nnn's user avatar
  • 29
0 votes
0 answers
93 views

I have an AspNet application which I'm authenticating using a separate AspNet Core application. It returns a JWT token which is then carried in a Http Cookie. The AspNet application validates each ...
user3167162's user avatar
0 votes
1 answer
51 views

I have a web app that is capable of connecting to multiple databases that are identical in structure but contain different data; each of our clients who uses the app gets their own copy of the ...
ekolis's user avatar
  • 577
-2 votes
2 answers
74 views

MVC+ xml web service using MS MVC. The project is made with MS ASP.net front end and business logic, and the logic contains does coded with some complicated logics to interact with the front end ...
RAY's user avatar
  • 123
1 vote
2 answers
10k views

What we want to do is very simple We have a check-in kiosk website (C# ASP.NET MVC), and we are trying to set up 30 kiosk stations at each building (each building is about 200 ft away from each other)....
kabichan's user avatar
  • 113
0 votes
1 answer
149 views

Due to a lot of columns to chose from, the standard column selector in Devexpress doesn't cut it for me. So I thought of something like a "grouped" column chooser. This should work like a treeview ...
bautista's user avatar
  • 117
-4 votes
2 answers
2k views

I have a web application that is running under .NET framework and that is using JS/JQuery on the client side. I am the owner and the only developer of this web application, and it is not totally under ...
Mehdi Souregi's user avatar
0 votes
1 answer
3k views

I have an C# MVC Application which is basically a large application form. We are using a large ViewModel to store all the information the user enters as they pass through multiple steps in the ...
TroySteven's user avatar
1 vote
1 answer
1k views

Summary Instead of calling WebApi straight from a Web Forms User Control, I have created JS class which contains functions returning jQuery AJAX requests. The control would instantiate the class and ...
Brownish Monster's user avatar
-1 votes
3 answers
643 views

I have an ASP.NET MVC application and I will need to execute a task every one minute. The task is: -> Go to database -> Check from Table 1 if a record has value = "something" -&...
knewit's user avatar
  • 17
0 votes
3 answers
9k views

I have an application that consists of multiple sections of which each section will need to load data from various API calls. Now I'm thinking of taking advantage of Session variables(or caching) to ...
knewit's user avatar
  • 17
2 votes
1 answer
270 views

I have a project that has a DD design, and also uses dependency injection. During development, we connect to a test database which contains a former snapshot of production. This works well 95% of the ...
RLH's user avatar
  • 541
0 votes
0 answers
938 views

I've been working on a web app that's divided up into different web pages (around 20). It's only used within my company and it looks at financial data. It's a few years old and is in dire need of an ...
Bodrov's user avatar
  • 109
2 votes
1 answer
558 views

I'm the maintainer of an ASP.NET WebForms application and am contemplating a refresh of the application in order to eliminate dependency on some legacy libraries, add some features, fix some areas ...
Matt's user avatar
  • 2,222
0 votes
1 answer
231 views

So you open up file explorer on your computer and can create folders, add files, rename, etc. I'm doing the same thing in a web application that interacts with the file system on the server. I'm ...
user1447679's user avatar
1 vote
0 answers
334 views

As far as I know, the DBContext or underlying persistance technology should be only contained inside the Data layer. Also, it feels very wrong to me to have identity package inside the user ...
Excessive's user avatar
2 votes
3 answers
598 views

I have the following StudentGroup class: public class StudentGroup { [Key] public int Id { get; set; } //the set of peers who will review the work of the StudentGroup [ForeignKey("...
renakre's user avatar
  • 131
-1 votes
3 answers
133 views

A small, neglected project has recently been reported by users as having time out errors and some object reference exceptions. As I am a recent replacement for a developer who was responsible for this ...
8protons's user avatar
  • 1,389
4 votes
1 answer
2k views

In a recent Pull Request (PR) of mine, a colleague suggested that it was a bad idea to map between a model and its view model via extension methods. I asked why and he said: It isn't how extension ...
J86's user avatar
  • 297
1 vote
1 answer
919 views

I would like to develop a Patient Queue management system with online booking. In this case there are options to generate queue tokens for various departments. For example dept A will have tokens ...
Surensiveaya's user avatar
2 votes
2 answers
872 views

I'm building software with 3 layer architecture and asp.net core , as you know the Dependency Injection is Built Into Asp.net core As i know the 3 layer architecture diagram is like this: According ...
Mohammad Ansari's user avatar
1 vote
2 answers
2k views

Im a bit confused about what is best practice when working with Entity Framework and ASP.NET Web API. I am working on a project that contains a iOS/Android app and an API the app will use to ...
Martin C's user avatar
0 votes
2 answers
581 views

This is currently my User-Role-Permission model in the Db schema (excluded other tables to avoid confusion). My implementation goes like this: I have a Customer table and each Role has a different set ...
long_hair_programmer's user avatar
1 vote
0 answers
162 views

I've been reading recently about Event First approach to microservices where Event Store is a Single Source of Truth for all the applications (https://dzone.com/articles/data-consistency-in-...
cah1r's user avatar
  • 312
0 votes
2 answers
452 views

I have a standard application and in this case, it is an Accounting ASP Net MVC application. Now, I have a new client that has their own specific requirements like other fields and some custom ...
Lawrence's user avatar
  • 135

1
2 3 4 5
13