All Questions
Tagged with web-development c#
40 questions
0
votes
0
answers
239
views
Blazor server side or client side, towards backend DB
I'm wondering, although as I think both options are possible.
Currently, there are two versions for Blazor projects in visual studio 2019.
If you want to connect to a backend DB then there are two ...
4
votes
1
answer
5k
views
Sharing form validation rules between backend and frontend (Having single source of truth)
I'm currently working on a web app using ASP.NET Core (C#) on the backend and Next.js (TypeScript) on the frontend. I have a lot of forms that need to be validated and I don't want to write validation ...
1
vote
0
answers
60
views
How to implement timing-mechanism for fantasy draft process utilizing ASP.NET Core 3.1 SignalR
I have developed a Fantasy Draft system utilizing ASP.NET Core SignalR, along with Azure's SignalR service (for backplane/scaling stuff).
Last year I utilized a poor-mans' javascript version that just ...
0
votes
2
answers
675
views
Is it ok to use .Replace(" ", "+") when reading hashes in a querystring?
I am letting users change their password after a reset, by following a link containing hashes of the password and user name (e-mail address). The link can look like this:
www.example.domain/login?h1=...
12
votes
5
answers
17k
views
Is creating ViewModels in Web API a bad practice?
So, somebody at work who is twice as experienced than I am, told us that we must not create ViewModel classes within Web API. (We are using Angular for UI)
In his opinion ViewModel is ASP.NET MVC ...
0
votes
2
answers
429
views
Building Client Specific Application on Top of Standard Application
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 ...
-1
votes
1
answer
1k
views
Design ideas for showing another website's page in my own website
I would like to show a web page from another website and show it on my website. I want to annotate some text on their website content.
Conceptually I know what needs to be done:
- I will capture their ...
1
vote
1
answer
293
views
open webapplication from desktop application
Doctor is end user of this application
Doctor opens desktop application on his pc which is not developed by us.
We provide interface to desktop application via interop dll's.
Desktop application call ...
0
votes
1
answer
775
views
Remembering User-selected Values in Web API
I've created a website for a tennis league. The two main pages are standings and schedule. When a user accesses the site, I'd like to have them select the league and season first. For example, the ...
0
votes
2
answers
129
views
Object property depend on previous objects in a list. How best to go about this?
So basically I have an object with a few properties in it:
public MyObject
{
public string Name {get;set;}
public bool Complete {get; set;}
}
List<MyObject> myList = new List<MyObject>();...
5
votes
2
answers
182
views
What strategy should I employ using C# to solve this use case?
So this is all hypothetical and theoretical really. This isn't a real system I'd have to architect, but its a good question.
A company stores and reproduces contracts. Contracts can have many ...
6
votes
3
answers
252
views
How to document URLs and interaction between pages
We're developing a web application that is now growing to quite a few pages, all dealing with complex data and rather complex interactions between pages.
For instance, the login flow encompasses the ...
2
votes
1
answer
261
views
Is taking a snapshot of UI to compare the data considered a good desicion?
If I have a complex attendance project to track the employees attendance and leaving, and according to that they get overtime money through a workflow.
The schedule is something like that :
6 weeks ...
0
votes
1
answer
829
views
Handle object in handler or inside object
I've start wondering what's the best practice when handling objects in web development.
Oversimplified the process when there is a page request often looks like:
Page request.
Fetch object data from ...
3
votes
1
answer
365
views
In c# how do people make complex functions
Hi I'm working on a c# MVC code first project. I've started the project and have created the Models, database frontend etc.
Now my attention has come to writing something that can read an excel ...