Could some tell me the difference between 32bit and 64bit .NET assemblies?
I understand when it is needed to be precise instead of selecting AnyCPU configuration.
Regards,
Mita
What would a simple unit test look like to confirm that a certain controller exists if I am using Rhino Mocks, NUnit and ASP.NET MVC 2? I'm trying to wrap my head around the concept of TDD, but I can't see to figure out how a simple test like "Controller XYZ Exists" would look. In addition, what would the unit test look like to test an Action Result off a view?
In asp.net global.asax, where should i write code to assign role in httpcontext.user?
What i have read in site is that it should be part of "Application_onPostauthentication" event of global.asax but i am not getting that if i write there then it is execute for each request of user. I think this should fetch one for one authentication at session.
I don't know even why microsoft also suggest to write code there? Please if anybody know the fact make me clear?
Hey Guys,
I have a asp.net website and I am accessing that web service from my iPhone app to get data.
The WCF web service produces data as JSON.
I want to put some kind of authentication on the WCF. What you you guys recommend?
Thanks
Hi,
does anyone have any idea how I can get started building a search engine for my asp.net mvc site using entity framework. I plan to build something like: http://www.carsguide.com.au/search/?N=4294962119++492&type=cars
there on the left there is a refine search option panel.
What's the best approach to design a model for the UI and optimized query with entity framework.
How does one be called a ninja ASP.Net programmer?
What set of tools and immediate knowledge(Without having to open MSDN, SO, or Google) should be known to be considered a master?
Webforms or MVC...
What would be best practice to localize your ASP .Net MVC application ?
I would like to cover two situations:
one application deployment in IIS which would handle multiple languages
one language / application deployment.
In first situation should you go with somekind of view based thing like, ~/View/EN, ~/View/FI, ~/View/SWE or something different ?
What about second case, just application based config via Web.config and point these different languages to different urls ?
can anybody please give me readymade application of asp.net mvc in which rss xml file is generated dynamically,and also database structure by using entity model?
thank you.
Hi All,
I am using asp.net 3.5 and C#.
I want to change my mouse cursor similar to this site
http://dummyblogtrix.blogspot.com/
How can I do the same ?
Please help.
Thanks in advance
The .NET ComboBox autocomplete will not fully autocomplete with the display text contains a slash. It completes only up to the slash, leaving SelectedIndex == -1 and SelectedValue == null.
This behavior stupidly persists no matter whether your autocompletesource is set to ListItems rather than FileSystem or URL.
Is there any workaround for this that doesn't involve just throwing the ComboBox class away and writing a "MyComboBox" class?
i am publishing an app in vb.net. it's creating setup.exe and a folder called application files. i am told that setup.exe is stand alone and does not need any other files. is this right? because when i put setup.exe in a different directory it says that some files are missing.
I have a problem with a custom built ASP.NET MVC2. The strongly-typed views break as the viewdata is treated as 'Object' instead of the corresponding type.
The same views work perfectly with the default MVC2 from Microsoft.
I recently moved to Visual Studio 2010 and upgraded my website to work with .NET Framework 4. (From VS 2008 - Framework 3.5)
What are things I need to know to improve site speed, readability or memory use?
For example, I found out that when I use AJAX ScriptManager, one of it's new properties is EnableCDN which enables me to load AJAX .js files from Microsoft CDN.
I want to put an unique image (1x1) on an e-mail marketing (not spam) of my client. Just like www.spypig.com, I'd like to use it to know how many people have actually read the e-mail. I guess I'll have to check how many times this unique image has been accessed, but I can't figure out how to do it.
So my question is: Is there a way to check how many times an image file was accessed using ASP.NET/C#?
Thank you
With plain old sdl in C i would copy the dlls i need into the exe directory and was able to run without install.
Now i am using sdl.net. I tried doing that but had no luck. Not even a clue to what dlls are missing as i did in the old C way. How can i have users run my sdl app without installation?
I need to use the RGBRast software renderer for a DirectX application I'm developing. Currently I'm just including the DLL with my install.
I have read a few places that it is also included with .NET 3.5 SP1. Is this true? If so, where is the DLL located?
This redistributable component can be downloaded from:
http://www.microsoft.com/downloads/details.aspx?familyid=57d03491-6c49-4429-bff7-130408b5f410
Hello frineds,
I need to retrieve the current date in asp.net and then compare that with the date given by the user in textbox1.text(mm/dd/yyyy format), if date date given is greater than current date then error else add 4months2days with that date and display it in textbox2.text.
help me please,
thanking you guys,
Indranil
I just installed a number of updates to my machine, and am now encountering the following error when I run an asp.net MVC application on my local machine:
Compiler Error Message: CS0006: Metadata file 'C:\WINNT\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll' could not be found
I have removed the reference to this from the project (not really sure why it was there in the first place) but still get the error.
Any idea on how to resolve this?
I am getting an asp.net site developed and need a program which will generate barcode's.
So far all I have found is http://www.barcodelib.com/purchase/main.html#pricebarcodenetweb
Does anyone know of an open source alternative? or a cheaper alternative.
Hi all,
I'm looking for a .net library that will enable me to extract block attributes out of a autocad file. I don't mind paying for a developers licence but I should be able to freely redistribute the library itself without additional costs.
Is there a lib that suits my needs?
greetings,
Coen
What error handling should be used in VB.NET?
Should you use the "On Error Goto ErrorHandler ... Exit Sub ErrHandler ... End Sub" pattern or should you use the "try { ... } catch { ... } finally { ...}" pattern?
There are many Logging frameworks for .NET, from simple Debug.WriteLine and Trace to Log4Net, Logging application block, NLOg and others.
Which one do you use or recommend, and why?
Also, which one would you recommend to NOT use, and why?
I need to compare tables with the same names in different databases ( Sql Server 2008 ). How using C# code and ADO.Net to identify additions, deletions, updates. Is DataReader going to work in this scenario without stored procedures ? DataReader seems to be suitable for single database connection, or am I missing something ?