core (12,341)


Embedded Database for.net that can run off a network

Embedded Database for.net that can run off a network

I was(and still am) looking for an embedded database to be used in a.net(c#) application. The caveat: The Application(or at least the database) is stored on a Network drive, but only used by 1 us…


c# - .NET Testing Framework Advice

I'm looking to introduce a unit testing framework into the mix at my job. We're using Visual Studio 2005(though we may be moving to 2008 within the next 6 months) and work primarily in C#. If the…


c# - How do I most elegantly express left join with aggregate SQL as LINQ query

SQL: SELECT u.id, u.name, isnull(MAX(h.dateCol), '1900-01-01') dateColWithDefault FROM universe u LEFT JOIN history h ON u.id=h.id AND h.dateCol<GETDATE()-1 GROUP BY u.Id, u.name…


Why am I getting a double free error with realloc()?

I've tried to write a string replace function in C, which works on a char*, which has been allocated using malloc(). It's a little different in that it will find and replace strings, rather than ch…


asp.net - Bandwith throttling in IIS 6 by IP Address

I am writing an application that downloads large files in the background. All clients are logged in locally, or through a VPN. When they are logged in locally, I do not want to throttle downloads. Ho…


c# - .NET Unit Testing packages?

Getting back into a bit more.NET after a few-years of not using it full-time, and wondering what the good unit testing packages are these days. I'm familiar with NUnit(a few years ago), and have playe…


c# - How to RedirectToAction in ASP.NET MVC without losing request data

Using ASP.NET MVC there are situations(such as form submission) that may require a RedirectToAction.One such situation is when you encounter validation errors after a form submission and need to redir…


Bringing Window to the Front in C# using Win32 API

I am writing an application that needs to bring window of an external app to the foreground, and not necessarily steal focus(there is a setting the user can toggle to steal/not steal focus). What is…


c# - What Are Some Good.NET Profilers?

Locked.This question and its answers are locked because the question is off-topic but has historical significance. It is not currently accepting new answers or interactions. What profilers have you us…



c# - What is the best way to do unit testing for ASP.NET 2.0 web pages?

Any suggestions? Using visual studio in C#. Are there any specific tools to use or methods to approach this? Update: Sorry, I should have been a little more specific. I am using ASP.Net 2.0 and was…




net asp example mvc how pdf framework tutorial guidelines not