Skip to main content

Questions tagged [asp.net-mvc]

Model-View-Controller for the ASP.NET framework

2 votes
1 answer
119 views

I use this code as reference for when I start working on a new project whether that be for personal or for work. It's worked fine so far, but I'm wondering if anyone can read it and provide any ...
sammy medawar's user avatar
0 votes
0 answers
116 views

I wrote this to have ASP.NET MVC be able to respond as a web API as well as the normal MVC Razor pages. I wanted Newtonsoft deserialization for models based on already parsed values: ...
MPelletier's user avatar
2 votes
1 answer
249 views

I am working project where I need to build ASP.net control based on JSON data. I am using the method below GetMeetingPollingQuestion to create this model. Any suggestions/comments are greatly ...
Jefferson's user avatar
  • 423
2 votes
1 answer
300 views

I am working project where I need to build ASP.net control base on JSON data. I am using this method below to get all the data into class. I as using FirstOrDefault ...
Jefferson's user avatar
  • 423
1 vote
1 answer
139 views

I have created a code that displays a table with exchange rate data. Have I used loops and conditions (if else) in a good way? ...
mariuszKen's user avatar
3 votes
2 answers
1k views

On the basis of the daily exchange rate data of the CB (https://ww.cbr-xml-daily.ru/daily_json.js) it is necessary to create a Web-service using ASP.Net Core, which implements 2 API methods: ...
Aarnihauta's user avatar
1 vote
1 answer
103 views

Let's suppose I have 2 repositories: first is responsible for creating job and return jobId second is responsible for creating ...
mikolaj semeniuk's user avatar
1 vote
1 answer
89 views

This logic checks different method and adds links to response that is returned to a view. I there a better way to do this ? ...
Jefferson's user avatar
  • 423
0 votes
2 answers
422 views

I tried to make a calculator using the Strategy pattern in ASP.Net Core MVC (following an example from the Internet) Please review my code and tell me what could be wrong and how to make it better? My ...
WarmingZ's user avatar
1 vote
1 answer
2k views

I want to check client's browser version, and if it's too old, display a message that the user should update their browser in order to use the website. The website is built using ASP.NET MVC. I have ...
Hooman Bahreini's user avatar
0 votes
0 answers
73 views

I'm implementing a system, which requires an order to be active. I have a class called Yritys, which is the customer account who would have credits. 1 credit would mean 1 day of service use. Yritys (...
jluck's user avatar
  • 9
0 votes
1 answer
133 views

I wrote a fileupload function for my application. Basically the application is a web based folder structure, which has files included. I don't know, but I am not happy with it. Is it too long? Can I ...
Spedo De La Rossa's user avatar
0 votes
1 answer
7k views

I am trying to using HttpClient for making API calls from a different domain and for that purpose I have created the following service class after doing some research. It is 4.7.2 framework and not a ....
chiru1983's user avatar
5 votes
2 answers
3k views

So I am using the latest version of Dapper and it works great for mapping my POCO classes but there are some scenarios where I need to return a DataSet instead of ...
Rahul Sharma's user avatar
2 votes
0 answers
79 views

I have asked this question on stackoverflow... here, I am asking for some feedback on the solution that I have implemented. I am using ASP.NET MVC default template to logout user: ...
Hooman Bahreini's user avatar

15 30 50 per page
1
2 3 4 5
16