Is there a way to automatically spin up an ASP.NET app pool after an IISRESET or the scheduled reset so that the initial user doesn't have to wait for the app pool to load?
Hi, i've bought a shared hosting on a windows hoster with IIS 6.
I would like to know how to rewrite url.
I can't modify anything on the server, the only thing i can do is to use ... my asp.net code !
some advice ?
Thanks!
How I can create thumbnail from url.
For example:
Like Digg website, when I submit a link, Digg for me chose a Thumbnail from any images on that URL.
Or like Facebook, when I submit a link, I can chose a thumbnail for that link.
So, how i can do that with asp.net/C#. I just want create thumbnail (not Screen Shot of web page)
Thanks so much.
I am trying to understand why after croping an image in .NET i end up with an image 3 times the size of the original image.
Listed below is the code i am using to crop the image
Private Shared Function CropImage(ByVal img As Image, ByVal cropArea As Rectangle) As Image
Dim bmpImage As Bitmap = New Bitmap(img)
Dim bmpCrop As Bitmap = bmpImage.Clone(cropArea, img.PixelFormat)
Return CType(bmpCrop, Image)
End Function
where img is the original image loaded from file into an image object.
How can i achieve a loss less cropping of my image?
Hi, I'm looking for a decent Open Source or cheap .NET CRM.
Does anybody know of any good ones (aside from whatever there is on the front page of Google which I've checked and wasn't that impressed with)
I need a good memory profiler for .net, it would be ideal if it shown types of objects currently loaded in memory. Usually I use DotTrace but it does not seem to show object types.
The weird thing is If there is a javascript onClick() on a button, postback works otherwise, there is no postback. This was working very recently. I am not sure what recent changes made to the application made this happening throughout the site. The solution suggested by this link does not work as well (that link is applicable to .NET 1.1 though). Any idea whats going on?
What's the simplest and most effective way to selectively redirect HTTP requests to your ASP.NET page to its HTTPS equivalent?
For example, if my page site URL is http://www.somesite.com, I want to redirect some (or all) page requests to https://www.somesite.com.
What's the easiest way to do that?
Hi,
Was wondering if there are any transactions support in asp.net for MVC 2? i.e. commit & rollback?
I have a few slightly risky db transacts which i'd prefer firmed up with transactions.
could the system transactions namespace be incorporated into a respository of db calls?
How would one create a poll questions application in ASP.NET MVC, whereby a user can be asked a series of questions, one by one, and the system will ask the next question when the user submits his answer on the current question?
Hi,
I have a asp.net web application and I'm using cache (HttpRuntime.Cache) to save some stuff from db.
I also update db from time to time so that data in db does not match the data in my application's cache.
Is there any way how to clear my application's cache without modifying any source code or republishing the page?
I tried to restart IIS and to clear browsers cache but nothing helps.
Please help.
Hi, I'm new to NHibernate. Actually I'm trying to save the values ffrom two text boxes into MySql Database in asp.Net page. I that I got
"Resource not found: WebApplication1.Sample.hbm.xml" error. But I can't fix this error. Can anyone help me to fix this one?
Hi, In my project I need to watch multiple FTP Folders continuosly, if any new file comes i need pick the filename and do some process. If that is normal Windows/Local File System folder I can achieve this by using SystemFileWatcher of .net. Is there any thing like SystemFilewatcher to watch FTP folders?
Thanksnrk
I have a "MustInherit" .NET class which declares a constructor with an integer parameter. However, Visual Studio gives me an error when I create any derived class stating that there is no constructor that can be called without any arguments. Is it possible to inherit the constructor with arguments?
Right now, I have to use
Public Sub New(ByVal A As Integer)
MyBase.New(A)
End Sub
in the derived classes. Is there any way to avoid this?
We use ComponentOne controls in our Winforms application for .NET 2.0 and we have a problem when we attempt to use it on FIPS validated platforms - the licx file seems to fail and the control creation fails and even the ComponentOne activation seems to fail. Is there a workaround for this ?
Greetings,
I have a wcf service that exposes functionality to my wpf application. This works fine.
I would like to create a web version and I am wondering how can I connect from my asp.net mvc application to my wcf service? Should I use the same approach as for WPF application (which uses Proxy to connect to the WCF Service.
Is there any nice article how can i do this?
I'm going to be writing a small app based on the .NET SerialPort class.
Is there a generic dialog available for setting the port settings, ala baud rate, data bits, stop bit, parity bit, flow control, etc? I didn't see one in the MSDN documentation, but I would think that one exists, since that stuff doesn't change.
Hi all,
is there any (opensource) asp.net implementation (in the form of an httphandler or other) for the following paper: http://www.cse.msu.edu/~alexliu/publications/Cookie/cookie.pdf
greetings,
Tim
For the life of me I cannot deserialize the protobuf file from Open Street Maps.
I am trying to deserialize the following extract: http://download.geofabrik.de/osm/north-america/us-northeast.osm.pbf to get Nodes and I am using http://code.google.com/p/protobuf-net/ as the library. I have tried to deserialize a bunch of different objects but they all come up null.
The proto files can be found here: http://trac.openstreetmap.org/browser/applications/utils/export/osm2pgsql/protobuf
Any suggestions?
I'm looking for a virtual webcam driver to use in a .NET project, this project will be GPL, and have no idea how many installations there will be
The idea is that the application is using the webcam without locking the device.
Found a couple of programs that do the job, but either in application and/or too expensive:
* http://www.softservice.org/products_camsplitter.html (9.99$/installation)
* splitcamera.com (program, no SDK available)
All idea's are welcome