Tagged Questions
1
vote
1answer
53 views
Data transfer between“main” site and secured virtual subsite
I am currently working on a C# ASP.Net 3.5 website I wrote some years ago which consists of a "main" public site, and a sub-site which is our customer management application, using forms-based ...
1
vote
3answers
183 views
File storage for a blog component: database or filesystem?
I'm going to develop a fairly basic re-usable blog component, with simple CRUD operations using ASP.Net.
Which method of storing blog posts would be best suited to the situation in terms of ...
0
votes
6answers
291 views
Wise way to implement a website login and database tables for a small shop
Im building this website for a small store and I was told that its better not to keep the login and the rest of the users information on the same table.
Now im wondering, what is the best way to ...
0
votes
0answers
16 views
Wise way to implement a website login and database tables for a small shop [duplicate]
Im building this website for a small store and i was told that its better not to keep the login and the rest of the users information on the same table.
Now im wondering, what is the best way to ...
1
vote
0answers
171 views
Is there a better way to consume an ASP.NET Web API call in an MVC controller?
In a new project I am creating for my work I am creating a fairly large ASP.NET Web API. The api will be in a separate visual studio solution that also contains all of my business logic and database ...
-2
votes
1answer
80 views
Architecture for asp.net app in tiers with linq or any ORM [closed]
I would like your help on suggesting solution structure for my asp.net web app. I am thinking of using above technologies. I also want validation framework in my project. Please suggest me with some ...
1
vote
5answers
289 views
Understanding unit tests/TDD for ASP.NET webforms [closed]
I'm the lead programmer at a small software firm (currently 4 developers including myself), we develop bespoke ASP.NET WebForms applications for businesses. I joined there in 2010 just after ...
2
votes
3answers
364 views
Microsoft's coding standards for ASP.NET controls
I cannot find any naming standards/conventions in MSDN for naming ASP.NET controls.
One of the following standards tends to be used by programmers:
lblAddress
AddressLabel
Address
According to ...
3
votes
1answer
175 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 ...
5
votes
3answers
3k views
Best Architecture for ASP.NET WebForms Application
I have written an ASP.NET WebForms portal for a client. The project has kind of evolved rather than being properly planned and structured from the beginning. Consequently, all the code is mashed ...
3
votes
3answers
148 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 ...
4
votes
3answers
201 views
How do ORM'S manage CRUD operations in multi thread environment
Suppose I have code which retrieves an object and modifies it and submits it via any ORM from a web application. Below is the pseudo code:
First request
var objCust = ...
2
votes
3answers
222 views
Is it possible to get dynamically generated html in asp.net tags using HTTP Modules?
I want to know if it is possible to write to a log/text file dynamically generated HTML in asp.net tags in an .aspx page using HTTP modules.
By dynamically generated HTML, I mean the html content ...
2
votes
5answers
1k views
An XML file or Database?
I am re-writing a section of my site and am trying to decide how much of a rewrite this will be. At the moment I have a web service feed that generates an xml once per day. I then use this xml file on ...
0
votes
1answer
140 views
Other than MSMQ, what is the easiest messaging queue to get installed on Windows? [closed]
When working with a fairly average team (limited knowledge with the latest and greatest), what would be the most ideal messaging queue to use in a windows environment?
Something that installs easily ...
2
votes
3answers
492 views
Implementing Command Pattern in Web Application
I'm looking to implement the command pattern in a web application (asp.net c#)... Since the commands come in text format from the client, what is the best way to translate the string to a command ...
0
votes
0answers
24 views
multiple client same project [duplicate]
Possible Duplicate:
multiple client multiple project
Sorry I will try to keep it simple because I am not good at English.I have 3 project files. They are all same projects but used by ...
1
vote
1answer
225 views
The Jitter (the just-in-time compiler) in ASP.NET [closed]
I know that C# gets compiled to an IL then after that to a machine code depending on the machine using just-in-time compiler. My question will go to ASP.NET. Is it the same?
Does it require 3 steps? ...
38
votes
8answers
21k views
Relationship between C#, .NET, ASP, ASP.NET etc
I'm really unclear on the difference between C#, C#.NET and the same for ASP and other '.NET' languages.
From what I understand, .NET is a library/framework of... things. I think they're essentially ...
1
vote
3answers
315 views
Setting up ASP.NET structure for code
I've always coded in C# MVC3 when developing web applications. But now i wanted to learn a bit more about developing web sites with just ASP.NET.
But now i'm wondering what a good setup for my code ...
0
votes
1answer
133 views
How to create a Request Specific Thread Safe Static int Counter?
In one of my server application I have a class that look like,
class A
{
static int _value = 0;
void DoSomething()
{
// a request start here
_value = 0;
_value++;
...
1
vote
3answers
2k views
Should one bind data with Eval on aspx or override ItemDataBound in code-behind?
For data bound controls (Repeater, ListView, GridView, etc.), what's the preferred way of binding data?
I've seen it where people use Eval() directly on the aspx/ascx inside the data bound control to ...
8
votes
5answers
5k views
Is There a Real Advantage to Generic Repository?
Was reading through some articles on the advantages of creating Generic Repositories for a new app (example). The idea seems nice because it lets me use the same repository to do several things for ...
-2
votes
2answers
637 views
How do I tell the cases when it's worth to use LINQ?
Many things in LINQ can be accomplished without the library. But for some scenarios, LINQ is most appropriate.
Examples are:
SELECT - ...
3
votes
5answers
744 views
Overwhelmed by complex C#/ASP.NET project in Visual Studio 2008
I have been hired as a junior programmer to work on projects that extend existing functionality in a very large, complex solution. The code base consists of C#, ASP.NET, jQuery, javascript, html and ...
6
votes
2answers
401 views
Is server validation necessary with client-side validators?
I recently created a .net web app that used over 200 custom validators on one page. I wrote code for both ClientValidationFunction and OnServerValidate which results in a ton of repetitive code.
My ...
1
vote
1answer
257 views
WCF/webservice architecture question
I have a requirement to create a webservice to expose certain items from a CMS as a web service, and I need some suggestions - the structure of the items is as such:
item
- field 1
- field 2
- field ...
3
votes
8answers
3k views
What is the best way to create HTML in C# code?
I have a belief that markup should remain in mark-up and not in the code behind.
I've come to a situation where I think it is acceptable to build the HTML in the code behind. I'd like to have some ...
6
votes
7answers
2k views
Best practices for logging user actions in production
I was planning on logging a lot of different stuff in my production environment, things like when a user:
Logs In, Logs Off
Change Profile
Edit Account settings
Change password
...
etc
Is this a ...
-1
votes
1answer
168 views
Getting some experience with asp.net [closed]
Hi I recently learned asp.net webforms and looking to get some experience under my belt using it.I found a website that provided some exercises here:
asp.net exercises
There weren't that many and I ...