asp.net

Pass JSON object to Web Method

I wanted to shared something I learned today with you all. My question was: Can you pass a JSON object from JavaScript code to a .NET Page Method? For example: var task = { Title: $("#titlenew input", $(newTaskRow)).val(), StartDate: $("#startnew input", $(newTaskRow)).val(), EndDate: $("#endnew input", $(newTaskRow))....

Best way to keyword search Amazon SimpleDB using EC2 and Asp.Net?

I am wondering if anyone has any thoughts on the best way to perform keyword searches on Amazon SimpleDB from an EC2 Asp.Net application. A couple options I am considering are: 1) Add keywords to a multi-value attribute and search with a query like: select id from keywordTable where keyword ='firstword' intersection keyword='secondwo...

Can you recommend any resources for learning WorkFlow in 3 days?

I'm replacing another developer in the final phase of an ASP.NET project using workflows. As I understand it, most of the project is complete but the workflows parts are still work in progress. This was a surprise assignment and now I have a long weekend to prepare. Can you recommend any resources to get me up to speed? I can learn on ...

Sharing .NET application pools

On an server running multiple ASP.NET sites, is it better to use one application pool per site or for sites to share a single application pool? What are the advantages or disadvantages inherent to each setup? Or is there a hard and fast rule here? ...

Base Page or Base Master Page or Nested Masters?

I've got a site with two master pages: one for one-column layout and one for two-column layout. These are nested within a master page that provides a common header and footer. I have functionality that I want each of the content pages to have; should I: create a page base class and inherit that inside my content pages, or create a mas...

Can we implement Row Lost Focus event for GridView

I have a Hierarchical gridview and I need implement the following functionality in the child gridview: Show all the rows in editable mode (this can be done) Save all data of each row on it's lost focus We can capture the mouse events but how do we track the row lost focus triggered by the Keyboard. Ex: when a row is in focus, hitting...

What should I be aware of when threading in ASP.NET?

Recently, the book on threading for Winforms application (Concurrent programming on Windows by Joe Duffy) was released. This book, focused on winforms, is 1000 pages. What gotchas are there in ASP.NET threading? I'm sure there are plenty of gotchas to be aware of when implementing threading in ASP.NET. What should I be aware of? Thanks...

ASP.net MVC RTM - "project type is not supported"

After installing ASP.net MVC, when I attempt to load a existing or a new MVC application (straight from New Project - A project for creating an application using the ASP.NET MVC framework (1.0) (.NET Framework 3.5)) I get the following error: Microsoft Visual Studio The project file 'path' cannot be opened. The project type is not ...

How to get URL Parameters from asp.net / jQuery.ajax POST?

Hi friends, I am trying to figure out how to get the parameters that are passed in the URL from a jquery plugin that I am using. Basically, I'm sending a POST ajax request to my web service and trying to use the URL parameters. But, they are always returned as nothing. I"m assuming this has to do with the fact that I'm in a POST. Can...

asp.net - set master page form ID dynamically

I am working on a site which uses master pages (no big deal), and has a form in the master page. Currently, the form name in the rendered content is always "aspnetform". I need to change some of the pages that use this master page, and I need to set the form name to something specific for that page (for SEO reasons). Is there a simple...

How to call REST-style service, protected by integrated Windows Authentication from ActionScript 3?

How would I connect a Adobe Flex/AIR based application to REST-style services hosted on a web site protected by integrated Windows Authentication? From my experiments, that the call is successfully made (by using the HTTPService class), the request is received successfully by the web server (in this case, I'm using ASP.NET MVC), but th...

How to build ASP.NET web site the way VS2008 does using msbuild?

With web sites in VS2008 (the ones without .csproj files), a build does a kind of validation where the site is 'compiled' to nowhere, and web site dependencies are copied into the web site's Bin directory. I want to do this exact process but at the command-line using msbuild. That is, I want an msbuild task that my msbuild target can...

Silverlight in ASP.NET

Duplicate: How do I use Silverlight from ASP.NET? How do I add some Silverlight content to an already created ASP.NET website? ...

Data Access ASP.NET

Hi, I built an online news portal before which is working fine for me but some say the home page is slow a little bit. When I think of it I see a reason why that is. The home page of the site displays Headlines Spot news (sub-headlines Spots with pictures Most read news (as titles) Most commented news (as titles) 5 news titles f...

Which are your asp.net C# debugging wrappers

Did not receive any exact answer, thus I would have to accept mine ... See code bellow ...

How would you design BPM application in asp.net?

Hi guys , we have created a simple asp.net/sqlserver 2000 based Business Process Management tool in which we have a feature that user can create simple one column form and attached to the process and define rules and path. We save the dynamically created forms controls values in EAV design tables but as the transactions is increasing we...

Trying to test a ASP.NET website over a LAN

Hi, I have a XP Pro and Vista machine setup on a workgroup LAN, normal case with NAT router/adsl modem. Latop is wireless. The XP Pro laptop has IIS on it and I have written an ASP.NET app. When I try to access the app from browser on the Vista PC I get an error saying can't connect to site. I have tried the following: Can ping the...

Session timeouts in asp.net on a dedicated server

Hi, I have a asp.net website hosted in the dedicated server.I'm using web.config to handle the session timeouts and that is 60 minutes.I did the following settings on the dedicated server (windows server 2003 and IIS 6.0 versions) In the default web site property of IIS-->ASP.net tab-->Edit configuration-->Session timeouts -->60 In ...

How can I Create a Subdomain on an IIS Server Using ASP.Net (Or C#)?

I want to create a website where users who sign up are able to get a subdomain on my main domain a la blogspot.com (ex. user.mywebsite.com) I really don't know how to get about doing this. I guess this will involve DNS. Here is some more info about my requirement. Don't need to set up an IIS website either. I want an app that would ro...

HTML error checker.

I'm using Asp.net., Assuming I'm allowing user to post messages in my site with HTML tags. How do I ensure he has properly closed all the tags? Is there any HTML-tag-checker available that tries to parse tags and report errors if any? May be just like the BLOGGER has. ...