Is there a good library to resize an image in .NET with good quality? I'm not pleased with the quality of resized images that GDI+ produces.
It does not matter if the library is free or at a cost.
Hello everyone, I am trying to figure out the best way of getting the record and update in to gridview using ado.net entity framework in C#. I need implement Next & Previous button in gridview and based on pagesize i want to navigate records using Next&Back button. Any one give simple example for this context.
Hi I'm new to ASP.NET MVC
and i want to create a class to contain site wide functions for my application
what is the best practice to do this?
where should i create the class ? in what folder?
should i create a new folder?
The site im working on is an Ajax enabled ASP.net/C# project and i have a URL like this:
http://localhost:2531/(S(lfcvqc55wkabpp55o1x4pvq5))/Logon.aspx
How do you get rid of the (S(lfcvqc55wkabpp55o1x4pvq5)) portion of the URL? I have a feeling its a web.config parameter however I'm not really sure what you call this part, GUID, Session ID?
I am doing a return RedirectToAction("Index", "Clients"); from my home controller.... It is fine but my url looks like http://localhost:1115/Clients/Index... How to remove index from url in asp.net mvc? Any suggestion....
My routes,
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
routes.MapRoute(
"Registrations",
"{controller}/{action}/{id}",
new { controller = "Registration", action = "Create", id = "" }
);
}
I need to print the contents of a datagridview, simple text in rows and columns, with GDI+ in .NET to paper.
To do this, I need to iterate over the rows, draw lines, iterate over the columns, calculate width, height, wrap the contents if contents do not fit on one line, etc. This is all possible, but is there a library that simplifies the drawing of tables in GDI+ and abstracts some of the difficulties away?
I need to Read files form Linux , copy them into the another computer(Windows operation) and even delete file in Linux. but I want do this with .net program.!!!
these file have a specific location.
I need code sample or article for doing that.
I know that whenever you add/remove/modify any file in the "App_Code", "App_GlobalResources", and "bin" directories that ASP.NET will recompile and essentially restart the application.
My question is : "What happens to any threads currently executing durring the change?"
Do they finish? Is a Thread.Abort Exception thrown?
What happens if the application itself makes a change in any of those directories?
i am using below code to print my content of webpage in asp.net using javascript
window.print(document.getElementById('dvPrint'));
when i do print, it automatically adds date time on page.. (i think because of page setup) in firefox. please tell me how can i remove this setting. i mean i dont want datetime to be printed automatically on my print page (even if its set in pagesetup).
I want the following structure in my ASP.NET MVC solution;
Controllers/HomeController.cs
Controllers/Administration/AdministrationController.cs
Controllers/Administration/UsersController.cs
Views/Home/Index.aspx
Views/Administration/Index.aspx
Views/Administration/Users/Index.aspx
Views/Administration/Users/AddUser.aspx
etc.
How can I make it work so I get http://localhost/Administration/Users ? Do I need a route for this, or create a new Administration area?
Thanks.
In an ASP.net MVC 2 app that I have I want to return a 204 No Content response to a post operation. Current my controller method has a void return type, but this sends back a response to the client as 200 OK with a Content-Length header set to 0. How can I make the response into a 204?
[HttpPost]
public void DoSomething(string param)
{
// do some operation with param
// now I wish to return a 204 no content response to the user
// instead of the 200 OK response
}
Hi,
I'm writing an application in wpf that uses MVVM. I wondered if I could use ado.net entity data model as a model in MVVM? Is it the same? If not, why?
Thanks for any help.
Regards,
Ev.
I am currently on a hosted Virtual Server, I want to enable GZip compression for my Asp.Net 3.5 site, how do I go about starting?
I have tried using 'packed' JS files, but they don't work, I am assuming it's because they are not handled correctly...?
Hello, Where I can download sources of .net frameworke. I mean sources of libraries. I need sources of reflection methods like invoke and other.
Thanks.
Hey Guys,
How can I Encrypt on iPhone Decrypt the same data in an ASP.NET application?
Should I not worry about it and just send all data by SSL?
Thanks
I heard that ASP.net MVC does not maintain View State.So,here is my question
I have an MVC -View which has forward and backward html button.When i click forward and again
click backward ,how can i maintain html control state then?
In unmanaged code you can create a thread in suspended state. In .NET Framework I can't find this option. Is it because the Thread constructor puts the thread in a suspended state? Is there other reasons why this is not supported?
Is there a way to change the naming convention for controllers in ASP.NET MVC?
What I want is to name my controllers InicioControlador instead of InicioController, or better yet, use a prefix instead of a suffix, and have ControladorInicio as my controller name.
From what I have read so far, I think I have to implement my own Controller Factory. I would be very grateful if any of you could point me in the right direction.
We have message framing working by using a lengh prefix but using .NET 2.0 beginSend/BeginReceive.
Is message framing any different in 3.5, if so how should we implement it using the new framework?
Are there any useable examples out there which focus purely on message framing using 3.5?
Many thanks
I would like to make notice of some wierd thing. I designed an entire package application using VB.Net in Visual Studio 2008. I changed the normal backgrounds to Black, to make a diffrerence. but the problem is i1mm getting changing back ground colors when i install it on other systems.which does have all supports required.
What should i do to supress this problem.
Hi,
I would like to call a function automatically lets say every 2 secs.
Is this possible with .NET, and if so can you please paste some code?
This will be used in Windows Mobile 6 SDK
thanks
Is there any way to access my asp.net dev server (launched from visual studio) from an outside connection? It seems to be filtered to only allow localhost