All Questions
13
questions
6
votes
2
answers
322
views
Update SQL database, similar-but-different queries for each month
This snippet works and does as desired, but I just wonder if I am being too repetitive.
What I mean by this is, eventually I will have all 12 months in there.
So.... 12 Update Queries, 12 Commands, ...
0
votes
1
answer
82
views
Rendering logos for guitars and basses listed in a database
Right now I'm still a beginner in databases and still learning all about it. I have a problem with the design of my database and I don't really know where to go from here. Basically I'm building a ...
3
votes
2
answers
196
views
REST API for user access using ASP.NET Core
I have been coding in java for more than 3 years. Recently we had to develop REST Web Services for our customers in ASP.NET Core. I am a newbie to both C# and ASP.NET Core stack.
The expectation ...
3
votes
1
answer
648
views
Online examination portal for learning
I am new to ASP.NET and I just developed a simple online examination portal for learning. I used ADO.NET, MySQL and developed in VS 2010.
I have a login page in which the user can login and register ...
7
votes
1
answer
8k
views
Using Identity to create user administration page
I'm developing an ASP.Net web application, using MVC 5. This application authenticates via LDAP and will assign an Identity Role of "Admin" to a designated user.
The Admin user will be able to go to ...
3
votes
2
answers
247
views
Login page code enhancement
I am starting to learn ASP.NET, and I am designing a page for an admin to login and do some stuff. I have the username and password for the admin stored in Web.config (Is that a good practice?).
...
8
votes
1
answer
5k
views
First SignalR application (Connecting 2 clients; mobile and desktop)
Two days ago I started reading about SignalR and today I started writing a simple application. I have written the code below so far, but I was wondering if you have some tips to improve my code.
...
7
votes
1
answer
530
views
jQuery dialog for help popup
I used jQuery-UI and jQuery to create a dialog popup for help snippets on search form inputs.
HTML (Calling Page)
...
3
votes
1
answer
184
views
Portfolio website
I'm making a portfolio website right now with Visual Studio 2013 and ASP.NET 3.5 because my free hosting only supports 3.5. Are there any bad practices in my code at the moment? What would you change ...
2
votes
2
answers
11k
views
Method for getting the DataTable when having connection ID and the SQL command
I am quite new to C# and to the ASP.NET programming. When maintaining the legacy code, I have found rather terrible implementation of the method that is used on many places to get the ...
5
votes
2
answers
3k
views
Adding object to database, using linq or sql connection
I have a table called tblDelegates in my database which I need to populate with some data. I have created a class called Delegates which has various properties to ...
6
votes
2
answers
4k
views
Web service getting value using LINQ from queue table in SQL database
As a test of my C# skills, I have been asked to create a simple web service which will take a message from a queue table in a SQL database and send it to a web application when a button is pressed on ...
3
votes
1
answer
238
views
Retrieving statistics about URL clicks
I'm pretty new to ASP/MVC but have had some prior programming experience.
I am trying to retrieve statistics about URL clicks - total clicks and unique clicks by IP address. I started with:
...