I need to add this namespace to my c# file:
using System.Data;
Is there a way to automatically add this to newly created pages in c#.net?
I don't want to add this namespace to new pages.
.NET 4 includes new concurrent data structures. The Bag and Dictionary collections have obvious applications but I cannot see any use for the Queue and Stack data structures. What are people using these for?
Also, I've noticed that the design based upon linked lists incurs a lot of allocation and that destroys scalability. This is surprising given that the sole purpose of these collections is multicore programming. Is this an inherent limitation or are they just badly implemented?
I am using Eazfuscator.NET 3.0.41 to obfuscate a (VS 2010) WPF 4 application. After obfuscating, when I double click the exe file it's throwing an error message like this.
"Description: The process was terminated due to an unhandled exception.
Exception Info: System.Windows.Markup.XamlParseException"
Is there a way I could enable some sort of a logging to check where it's going wrong ? How can I solve this problem? please advice
Hi,
I'm new to C# and .NET, ,and have been reading around about it.
I need to know why and when do I need to release resources? Doesn't the garbage collector take care of everything? When do I need to implement IDisposable, and how is it different from destructor in C++?
Also, if my program is rather small i.e. a screensaver, do I need to care about releasing resources?
Thanks.
Can someone please direct me on how to do this type of setup, i.e. I have a Windows Server with ASP.NET pages and would like to pass those credentials using Integrated Windows Authentication to a Linux-based Oracle DB.
Switching aged 2003 SRV to 2008 caused my Asp.net 2 application fail: The application is no more loading the required library DLL from /bin/ folder anymore.
What should I change in my code or web.config to make this webapp load OK also in new 2008 server?
Now I receive this error when I access the application: This type is in IMPORTS ( Dll ).
Compiler Error Message: BC30002: Type
'Facebook.Entity.User' is not defined.
In a project using .Net4 - should there be any issues referencing dlls built for older versions of .Net? We're talking 3rd Party dlls here.
I'm asking this as a general question. Specifically I have a problem referencing FluentNHibernate.dll - built with .Net3.5. It worked justed fine before I updated my project from .Net3.5 to .Net4.
I can't find any good documentation on what the concept of a Class Loader is in the .NET Framework? What is it? Where can it be found? Does anyone know?
I'm writing a .NET application that will make an RPC call to a Java application (via a message queue). The data sent in both directions will be large arrays of floating-point numbers. What is the best way to serialize them to send them across the wire? I'd like something more compact than text, but architecture-independent as the server may not be an x86 machine. The Java application can be changed as needed.
I've been told that using GDI+ from ASP.NET is dangerous and undefined.
Is that because there is no guarantee of a Device Context? Can someone explain?
What are some of the alternatives?
Here is the source:
http://msdn.microsoft.com/en-us/library/system.drawing.aspx
In my asp.net page i have java script calendar,on which i want the selected date & then that date has to passed to the code behind's method. How should it be done???
I am building a custom CMS in ASP.NET MVC and one of the requirements is that the content has a start and end date that dictates whether or not the page appears on the site. What is the best approach to this? Should I run some sort of chron job to mark the status of the page according to its publish dates? Does anyone have any resources or advice on the matter?
I would like to be able to display the version of the .NET framework a windows form or wpf project is targeted at and display it in the title bar of the app.
Is there a way I can do this?
Thanks
Hello All, I'm searching for a plot .NET component to plot a 2D line chart, given an array of data. It will be used with WindowsForm (C#) and It will be very helpful if it could be freeware. It is for a scientific application.
This is my first asked question in stackoverflow, and excuse me for my terrible English written.
I am designing an auto downloader using .NET and C#. I was wondering if there is a decent/robust FTP/SFTP module out there that I can use, preferably free of charge.
hi,
I developed a application using asp.net and uploaded the site in online it is working fine.
after few days i am getting parser error like this..........
"" this script is generating in every page in the bottom of the page in source code in the site. it is automatically generating.
when i remove it is work fine after few days it is again generating.
I have a requirment to do some imports from an Excel spread sheet and have been looking at various examples on the web, they all seem to use the "Jet" driver which is not compatible with 64Bit. Now I am fully aware of the workarounds available (in changing how IIS runs etc) however I would like to know if there is repalcment for the "Jet" driver so I can read and generate excel sheets from Asp.Net running on a 64Bit server with no IIS modifications.
hi,
i developed a web application and it is working fine in local server. when i place the web application (copy paste the file of asp.net) in another local system it is working fine but the design of the page is (layout of the page) not as in the first server what could be the problem please help me.
Hi
Can anyone suggest the ways we can choose to reduce the size of the rendered html
or response to reduce page weight in .net so that the client can experience a faster loading of the UI
i've heard of JSON and GZip
but don't have much idea about how to use it or even better ways are there
i want to deploy our official asp.net web application (Enterprise Resource Plan ) which mostly contain critical data. currently we have deployed it on internal machine on intranet now we want to open it for public i.e on web
what would be the best deploying strategy so that application remain fast,data secure and prevent unauthorized access.
we have also a public ip and also have a server machine.
Hi All,
I have multiple letters in html format in a folder and im list those letters in the gridview on ASP.NET page if user select couple of letters and click print i should me those letters
Now Question is how to print multiple html files on the event of button click.