All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
0 answers
163 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 ...
  • 137
4 votes
1 answer
2k 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,479
2 votes
0 answers
47 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 ...
  • 421
0 votes
2 answers
410 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?...
  • 141
6 votes
5 answers
12k 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
301 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 ...
  • 113
-1 votes
1 answer
962 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
277 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
741 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 ...
  • 2,277
0 votes
2 answers
99 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>();...
  • 109
5 votes
2 answers
178 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 ...
  • 161
6 votes
3 answers
244 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
250 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
754 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 ...
  • 93
3 votes
1 answer
333 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 ...
1 vote
2 answers
393 views

Application use on website

Is there a good way to run a C# application on clientside in lieu of JavaScript? I have done some front end work with JavaScript and backend C# for web developing at an old job, but I am interested in ...
  • 11
0 votes
2 answers
3k views

Web API architecture design

I'm learning and diving into Web API. I've used web services before but not specifically with web API. Below is how I am designing it so far and I was curious on the feedback. I have a ...
  • 39
0 votes
2 answers
3k views

How can I correct html for missing closing tags in c# ? [closed]

I have html stored in database received from text editors and because of some mistakes in the code the html is not valid, it is missing some closing tags. and due to this I am not able to process this ...
67 votes
16 answers
8k views

How much freedom should a programmer have in choosing a language and framework?

I started working at a company that is primarily C# oriented. We have a few people who like Java and JRuby, but a majority of programmers here like C#. I was hired because I have a lot of experience ...
1 vote
1 answer
920 views

Providing popups in an asp.net web application that contain server controls

What is the best way to provide popups that contain asp.net server controls? I am working on a .net site. I have search functionality where if someone presses a button a panel appears where they can ...
0 votes
1 answer
2k views

Do we need even more web frameworks in C# now that async await is here

Developing endless frameworks for web application, websites and web services is always great fun. It's one of the richest areas where you have 100 different ways of achieving pretty much the same ...
  • 255
0 votes
2 answers
2k views

Handling large web based processes

I am working on a new function for a ASP.NET MVC website. The execution time is quite long at present so I am considering options. The function takes an excel spreadsheet, uploads it to the web ...
  • 1,749
1 vote
1 answer
3k views

Simple way to deploy Winform application to website

First of all, I know there is no perfect answer to my question. It is a bit personnal, but I'm sure many programmers face the same dilemma when they get from regular desktop applications to client/...
3 votes
1 answer
1k views

Designing models for a generic service layer

We are building a web interface to a tiered membership system, which will interface with a third-party CRM web service for the creation and management of accounts. The web service, unfortunately, is ...
  • 813
4 votes
4 answers
255 views

Web Project Class Architecture

I think this is a good question for here but I'm not 100% sure. Please flag if it's too vague. I've worked on many websites where common framework classes are overridden. Since I work mostly in ....
0 votes
2 answers
499 views

Separation of development responsibilities in a new project

We have very recently started a new project (MVC 3.0) and some of our early discussion has been around how the work and development will be split amongst the team members to ensure we get the least ...
  • 3,456
3 votes
2 answers
1k views

Freelance Web Developer tools [closed]

I'm thinking of freelancing and building web sites in my free time. I have experience in C#/ASP.NET, JavaScript/jQuery as well as HTML/CSS and SQL. Thus, I feel like I have sufficient web ...
-1 votes
1 answer
412 views

Why would he say "We don't want to support MVC3"?

I work in a small shop at a fairly big company doing intranet web applications. By small, I mean there is 1 other guy in my position... and he graduated with me last December. (we aren't the only IT, ...
3 votes
8 answers
5k views

How can I move a team from C# ASP.NET development to PHP development using Drupal?

I have a team of skilled C# developers with vast experience in creating ASP.NET MVC applications. We will soon be starting a new big web site project based on the Drupal platform. My developers do not ...
  • 39
2 votes
3 answers
398 views

How to update display during large processing job

I have an ASP.NET C# application that needs to go off and iterate through a directory of .xml files and do some processing on the data inside them. This is easy enough, but i need to display the ...
21 votes
5 answers
139k views

How should data be passed between client-side Javascript and C# code behind an ASP.NET app?

I'm looking for the most efficient / standard way of passing data between client-side JavaScript code and C# code behind an ASP.NET application. I've been using the following methods to achieve this ...
15 votes
3 answers
10k views

Is it a good practice set connection strings in a web config?

Recently I have a discussion with some of my colleagues at my work because they said that it's better have in a .DLL a string connection encrypted. And I said why just don't use the string connection ...
  • 393
6 votes
2 answers
834 views

Implementing Asynchronous Insert / Update for a web application

I am in the process of implementing a small web application using memcached for caching objects and sql server for database persistence. In all the projects I have done before I have done inserts/...
  • 218
0 votes
1 answer
5k views

How much do i need to learn in order to get an entry level asp.net job? [duplicate]

Possible Duplicate: If you develop with ASP.NET, which other technologies do you use? I'm currently learning C#, but I've noticed that there is a lot of demand for ASP.NET developers. I ...
user avatar
7 votes
4 answers
891 views

Can you overuse delegates and events

I've just started getting to grips with event driven programming and I'm finding delegates and events to be very useful. Since starting to see the potential I've began using them all the time to solve ...
1 vote
3 answers
472 views

Is EF4 mature enough with MySQL or Oracle? [closed]

Is Entity Framework 4 with MySQL or Oracle mature enough to be used on production level web application? Can it provide high level of performance, or should we stick with just plain data access with ...
1 vote
1 answer
991 views

difference between Visual Studio and RADs?

What is the main difference between a Rapid Application Development tool like MonoDev and Visual Studio, is an RAD more focused on one thing? I'm looking to make a web application, are there ...
user avatar
2 votes
2 answers
991 views

What is the best way to store files when using winforms and web?

I have to develop an application (in C#) that has to work with files. The application consists of two versions: a web version and a windows version. Therefore, the files must be stored on a place ...
  • 189
12 votes
2 answers
3k views

Should we compile our website to a single dll, or a dll per page?

We're developing a new project that is to be deployed on a large number of client sites. The project contains a web-based GUI as one of it's "access points". Speed of the web interface is a priority ...
  • 372
21 votes
10 answers
4k views

Best Practices and Etiquette for Setting up Email Notifications

If you were going to set up a Email Alerts for the customers of your website to subscribe to, what rules of etiquette ought to be followed? I can think of a few off the top of my head: Users can Opt-...