.net

Spelling checker for .NET

Is there anyway to create C# spelling checker without using Office library? I would be happy with the simplest possible solution. ...

Cannot Access Closed Stream

I'm trying to use the Caching Application Block to cache some images (these images take a long time to render) BitmapSource bitmapSource; ///some bitmap source already created _cache /// Caching Application Block String someId; //id for this image, used as the key for the cache using (var stream = new MemoryStream()) { ...

SplashScreen is separated thread

private nForm_Load (_ : object, _ : System.EventArgs) : void { mutable procent : double = 0; SplashScreen.BeginDisplay(); for (mutable i : int = 0; i <= 100; i++) { procent = i; SplashScreen.SetTitle("Загрузка"); SplashScreen.SetCurrentTitle("Loading : " + Math.Ceiling(...

A good rules engine for asp.net-mvc applications

I looking for a good Rules Engine to work with in my asp.net-mvc applications. What good options do I have? ...

starting windows service development using .net

I have started working with the C# from couple of months and now i am starting with the windows service. MSDN is good as always to start with but i would like to know if there is book, blog ... etc (dedicated) for this which could be a nice starting point ? ...

Is VisualStudio 2010 built with WPF/XAML?

I had a crash with the new Release Candidate and the details suggested something went awry with WPF. Is it the case that at least some of the UI in the new release is built using WPF and XAML? ...

How To Get Started With Silverlight ?

I want to start silverlight development inside an application which developed by WPF. Actually we want to add silverlight featuretoan existing WPF project. what should we consider and how todo this I saw Getting started with Silverlight development and it was not my answer I mark this as a Community Wiki. ...

ItemsPanel vs Grid vs GridSplitter

I am currently trying to build a ControlTemplate for an ItemsControl that uses the Grid as its ItemsPanel where each item is stacked horizontally and delimited with a GridSplitter. The basic goal is to have a dynamic bindable ItemsControl where all items stack up in a row and where each item can be resized with a splitter. There are ...

How to write events to checkbox in the WPF toolkit datagrid

I bound my datagrid with database I added a checkbox column to the datagrid Now I want to take some data from the database to another datagrid when I click on the checkbox That is I have to add differnt data from the database when I click on the checkboxes on different rows I searched in several sites then I got the method to do this i...

AttachShadow() UnitTesting VS2008

I got a private class within a class. The private class is implementing IComparer interface. How can I test the method inside the private class using AttachShadow? Any Idea? Cheers Moez ...

Allow/Block Cookies in WinForms Webbrowser Control

How can i set the Windows Forms webbrowser control to block or allow cookies for the site it will navigate? ...

null id in "MyEntityType" entry (don't flush the Session after an exception occurs) when trying to Sesison.GetAll after an GenericADOException was catched

I catch the GenericADOException with InnerException.Message = "Unique key violation ...", for telling the user that the login entered is already in use. after that I'm trying to get some date (Session.CreateCriteria) i get this error: null id in "MyEntityType" entry (don't flush the Session after an exception occurs) ...

WebOrb.net / Alternatives

Hello All, I'm working on an online forex trading system and a while back we have decided to use weborb for .net. The decision was made mainly because we already have a pretty solid .net backbone that was built for the current HTML website. This decision is turning out to be very problematic for some reasons. WebOrb client SDK is no...

Is it possible that memory leak can occurs at stack in .NET also?

Memory leak is, when there is unused memory in application and GC can collect it, normally it occurs if some where in application we keep unwanted strong reference of an object, and GC will able to find the path(Direct and indirect) so it can free this object, but this all are true about reference type that mean in Heap memory allocation...

Efficient way to serialize form data to .NET ASHX/C# from JQuery

As most people, I have read a seen a lot of examples of getting data from a form (html) and being able to effeciently handle the posted data say within an ASHX (Generic Handler) page... and from there say update a database via a stored procedure.. maybe I am trying to automate things too much?? !! So I have a HTML form with say 50+ fo...

.NET casting objects

I have an abstract class called user, and 2 sub classes: RegisteredUser & VisitorUser. I have a need to convert a VisitorUser object to a RegisteredUser object - do I use casting to achieve this? If so, how? ...

Validate Strong Name of Running Assembly

Is it possible for one to check the strong name of a .NET application that is already currently running separately from your own running applications process? EDIT: For clarification, a solution that does not require a hard coded path to the executing assembly would be the most ideal solution. EDIT #2: Is there any way to do this w...

Why is NUnit hanging from the command line, but not under TestDriven.NET?

If I start my unit tests from TestDriven.NET under VS2008, they run pretty much immediately. If I start my unit tests using nunit-console.exe, the NUnit console hangs for five minutes before actually running my tests. If I attach a debugger, it seems to be spending its time in System.IO.MemoryStream.Read, called from System.Runtime.Ser...

Can we implement Transaction on C# objects?

Hi, Can we use transaction on C# objects. Does all the Transactions are only for Relational Database like MSSQL, ORACLE, etc...?? Thanks. ...

DoEvents 1 to 100

for (mutable i : int = 0; i <= 100; i++) { SplashScreen.SetCurrentTitle("Loading : " + i.ToString() + "%"); Application.DoEvents(); Thread.Sleep(20); And it works only for 17-25 :-/ Why and how to fix private CurrentTitle : string { get { _currentt...