Lets say I have an ASP.NET MVC web application which consists lots of assemblies. Here's a very simple example:
MyApp.Web
the web app
MyApp.Services
contains interfaces and implementations of domain services, e.g. IOrderProcessor, DefaultOrderProcessor
MyApp.DAL
contains interfaces and implementations of repositories, e.g. IOrderR...
How to perform SQL Server built-in encryption/decryption with NHibernate? I mean encryption of separate columns.
...
Hi all
I need to configure and query a Cisco router from my .NET application, and I need to do it by way of the Cisco WSMA web services interface.
These services are exposed over HTTP (in my case), and use SOAP 1.2 to enclose requests and responses (schema here). So a call may look like this (example from the Wikipedia article):
<SOA...
I thinking of using SQLite with win7 phone for development of my app. I looking for an ORM mapper which will work with Windows 7 phone and SQLite.
...
Possible Duplicates:
Why does .NET use int instead of uint in certain classes?
Why is Array.Length an int, and not an uint
Hi,
I always wonder why Count isn't an unsigned integer instead of a signed one?
For example, take ListView.SelectedItems.Count. The number of elements can't be less then 0, so why is it a signed int?
...
I'm using .Net Web Request to read the html of selected Webpages.
Once in a while I'm getting the following error:
2010-09-05 13:14:51,986 [File_29] ERROR Boxer.Classes.GetLinks [(null)] - HtmlUtils - GetResponse - Url - http://domain.com/index.html
System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets...
We have a ten-year-old ASP application that we are considering planning an update for. We want to take advantage of the new technologies that ASP.NET has to offer, as well as the opportunity to fix some issues with the existing framework (the existing code-base is highly fragmented, nearly impossible to test, let alone debug, and the en...
Hi there,
When I am working with a VS 2008 Team System solution with a very large number of projects VS crashes on me all the time.
Strange thing is that the other developers don't have the same problem and it has only been a problem for me the last couple of days. Don't know suddelny why i'm having this problem.
When i run a unit tes...
Note: I noticed some errors in my posted example - editing to fix it
The official C# compiler does some interesting things if you don't enable optimization.
For example, a simple if statement:
int x;
// ... //
if (x == 10)
// do something
becomes something like the following if optimized:
ldloc.0
ldc.i4.s 10
ceq
bne.un.s do_not_...
Hi there,
When I am working with a VS 2008 Team System solution with a very large number of projects VS crashes on me all the time.
Strange thing is that the other developers don't have the same problem and it has only been a problem for me the last couple of days. Don't know suddelny why i'm having this problem.
When i run a unit tes...
Hello,
I often use MEF in my applications but I cannot figure out if there is some way to know if a particular type contains composition members. I could do it easily by retrieving member attributes using reflection but I was wondering if there was already a helper class or something like this which could do this work for me.
At least ...
I want to use Enterprise Library 5 and Unity to intercept calls made on some WCF Data Services. If I wanted to do this on a custom object I would have an IMyObject interface and a MyObject implementation. I would then include some config in my web.config along the lines of the following (I want to add performance counters in this instanc...
I currently have multiple log files in my application using log4net.
I have a top level log file which contains every type of message. I also have an error log file which contains only error information. I am trying to configure it so the specific exception details and stack trace only appear in the error log file.
The call i am usin...
Is there a .NET 4.0 version of the mdbg managed debugger source ?
I need to port my CPU analyzer, and ICorDebug has changed a bit in .NET 4.0.
...
I need to create a image with a transparent background in .NETCF, I use magenta as the background I wish to make transparent. The way I have tried to do this is to override onPaint(). But I can't get the background transparent? Here's what I have:
protected override void OnPaint(PaintEventArgs e)
{
Graphics g = e.Graphics;
Imag...
I am attempting to create a telnet client that I can use to transfer green screen RPGLE apps to fancier client applications. I am able to establish a sockets connection and I have sent in a default "enter" command to access the log in screen but I don't know where to began to interpret where the fields are, where the server id of the ses...
I have a ASP.NET application that I am trying to build in release mode, but upon inspection (Assembly Information) it is always showing up in debug mode. I've also changed the Web.config entry to specify that the compilation mode should not be debug, but still no luck. Does anyone have any ideas how to get my build into release mode?
...
Is there reason following should not work in via .Net but works in RegexBuddy?
String:
formatter:'number',formatoptions:{decimalSeparator:'.',decimalPlaces:2,defaulValue:0}
Expression pattern:
[a-zA-Z]+:({)??([a-zA-Z]+[:](')??[a-zA-Z0-9.,]+(?(3)'|,?),?)+(?(1)}|.)
Produces matches within regex buddy but fail within .net.
private s...
I have a MonoDevelop 2.4 Add-In that adds a suport of custom .NET-based language to IDE.
It works fine - compiles, runs etc but i'm wondering how to implement a debugger support for it. Unfortunately MonoDevelop Add-In framework is not documented anyhow. Googling & disassembling MonoDevelop dlls with Reflector had no effect.
If smb kno...
How do I make XamlReader.Load to just ignore unknown attributes and elements instead of throwing exceptions? It would be much more useful if it only ignored those.
...