I live in India and My hosting server at US.
I am using MSSQL, ASP.Net and C#.Net
I want to fire job when i will get email.
ex.
someone send mail on my address.
then i want to get sms for email description.
it not possible to install any desktop or console application on US hosting server. I don't have that type of rights.
I have a CruiseControl.Net project set up to build an ASP.Net project, using an <svn task to pull the latest code from source control.
On a successful build, I use a <buildpublisher to copy the site to a deployment folder. My problem is that the buildpublisher is copying everything to the destination folder, including every .svn folder and…
Since I upgraded to .NET 4 or MVC 2 I can only bind lists to ICollection< and types inheriting from ICollection<. Previously, in .NET 3.5 and MVC 1 i could bind to arrays and IEnumerable<. Is this a known issue or have i done something stupid?
What are some helpful things that ASP.NET MVC developers could suggest that would help us ASP.NET WebForms developers to write better code/web apps?
I'm a WebForms guy but with all the new hype around MVC I'd value some comments on helpful tips, tricks and strategies that might be able to be used in a webforms app.
Having defined an ADO.NET Entity Data Model, I can then instantiate it in a Repository class to query against the database.
using (ApplicationEntities ctx = new ApplicationEntities())
{
// query, CRUD, etc
}
However, that particular line of code becomes boilerplate in most of the methods in the repository class.
Is it possible to just use…
Is it possible to use protobuf-net in RESTful webservices using WCF RESTful starter kit or OpenRasta? If it possible, are there any examples or code snippets available? I am creating a .NET Web Service which will be consumed by Java client.
I'm trying to Shell with a Wait or Process.Start() in VB.NET ASP.NET but it just runs forever. If I don't wait it runs fine and exits normally. What am I doing wrong?
ReadToEnd, WaitForExit do not work. I'd much prefer to avoid delegates if possible.
Last month we released the VS 2010 Service Pack 1 (SP1) Beta. You can learn more about the VS 2010 SP1 Beta from Jason Zander’s two blog posts about it, and from Scott Hanselman’s blog post that covers some of the new capabilities enabled with it. You can download and install the VS 2010 SP1 Beta here. IIS Express Earlier…
The very best software is almost always originally the creation of a single person. Readers of our 'Geek of the Week' will know of a few of them. Even behemoths such as MS Word or Excel started out with one programmer. There comes a time with any software that it starts to grow up, and has to move from this form of close parenting…
Introduction:
Cross Site Scripting(XSS) and Cross-Site Request Forgery (CSRF) attacks are one of dangerous attacks on web. They are among the most famous security issues affecting web applications. OWASP regards XSS is the number one security issue on the Web. Both…
The very best software is almost always originally the creation of a single person. Readers of our 'Geek of the Week' will know of a few of them. Even behemoths such as MS Word or Excel started out with one programmer. There comes a time with any software that it starts to grow up, and has to move from this form of close…
Daily tech links for .net and related technologies - May 10-12, 2010 Web Development jQuery Templates and Data Linking (and Microsoft contributing to jQuery) - ScottGu ASP.NET MVC and jQuery Part 4 – Advanced Model Binding - Mister James Creating an ASP.NET report using Visual Studio 2010 - Part 1 & Part 2 & Part 3 - rajbk…
Okay, I am trying to deploy a .Net framework 4 website on IIS7 server. I have already changed the application-pool's target framework to .Net 4, but the app is still showing me the error:
"The configuration section 'system.web.extensions' cannot be read because it is missing a section declaration"
I am guessing that has…
I am currently developing a new website utilizing ASP.NET MVC2. Much of what I want to do with the website (from a front-end standpoint) involves AJAX-y-type tasks.
Two examples:
I want to display forms, and switch between them via a drop-down menu (or through links) without having to go back and hit the server every…
Although Enable Edit and Continue is checked on the Web tab of my ASP.Net MVC 2 project, I cannot in fact change the source code while running. For example, if I try to edit a controller while paused in the debugger, I cannot change the file (acts as if read only).
I found a related post Edit and continue in ASP.NET…
I have an ASP.NET app that was compiled on a 32-bit machine. There are many different assemblies that are referenced. I opened the web site's main dll with ILDASM and looked at the .corflags. It stated it was ILONLY. However, when I run the web site locally on the 64-bit machine (Windows XP Pro 64-bit), I get "is…
Hi, so I'm very very far from an expert on MVC or ASP.NET. I just want to make a few simple Controllers in C# at the moment, so I have the following question;
Right now I have the connection string used by the controller, -inside- the controller itself. Which is kind of silly when there are multiple controllers…
HI,
I have created a asp.net solution with two applications. They bothe use the same database which is setup with .net membership and roles.
Application 1 uses the membership for sauthentication to an administration area - this works fine.
Application 2 - has a different applicationID to App1. I want to be able…
Question: The following C# code:
public event RemoteAPI.NotifyCallback Notify
{
add { s_notify = value; }
remove { Console.WriteLine("TODO : Notify remove."); }
}
How do I convert this to VB.NET ?
It implements an interface:
Public Interface ICallsToServer
''' <summary>
'''…