Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:748144
More Search Options
RSS Available
Matching Posts
ASP.NET MVC application with multiple host headers
Hi guys, I'm building an ASP.NET MVC application which can be customized with a custom host header (a custom domain name). I plan not to just forward the domain name(s), but to map the DNS to the server and add the host headers in IIS, all of which is easy. The issue I'm comming up with is that when you start a new MVC project and you run it, the default action is invoked without doing "/Something", it just works with "/". This is because of the RewritePaths being invoked
Posted to
ASP.NET MVC
(Forum)
by
bulgarian388
on 10/11/2009
Response.Redirect breaks SSL in ASP.NET VMC Application
Hi guys, I have a strange issue happening. On my MVC application I have a controller which handles all administration, and naturally you have to sign into it. The sign in page works fine and has a valid SSL certificate running, but after it redirects to the main admin page, the SSL becomes invalid, although the connection is still running through SSL... So, I'm very confused on why this is happening. https://domain/Admin/Sign-In <---- SSL works like a charm https://domain/Admin/Main <-
Posted to
Web Forms
(Forum)
by
bulgarian388
on 10/3/2009
Requesting help in parsing an XML document with LINQ
Hi guys, I'm working on an API that queries Amazon, and I'm trying to deserialize their response into usable objects for me. I want to do this with LINQ, but I am having an EXTREMELY hard time (read: 5 hours of nothing...) getting a simple LINQ query to give me what I want. I don't even know what I've tried anymore, but none of it has worked so I'm doing something really stupid... For starters I just want to get a List of Items from the XML document. Can anyone show me how to
Posted to
XML and XmlDataSource Control
(Forum)
by
bulgarian388
on 9/20/2009
Re: Requesting help in parsing an XML document with LINQ
Hi Martin, Thanks for the sample, it's working perfectly. I was trying to use the Descendants method(?) to traverse the DOM because that's what every example I saw was using, but it didn't get anywhere. Your example is much easier to understand. I do have two questions on it though. First, do I have to apply the namespace to each element? I can see why you are doing that because when I was Response.Writing the elements to the screen before I could see the namespace being attached to the
Posted to
XML and XmlDataSource Control
(Forum)
by
bulgarian388
on 9/20/2009
Object Serialization
Hi guys, I'm working on an API to process requrests against Amazon. I kind of have it working, but I'm also getting stuck on a slightly complex issue. The very base of the API is a Query class which has a method called ItemSearch. I pass an ItemSearchParameters object to the method, and it serializes it into an IDictionary<string, string> by enumerating the properties of the object. This works fine when I have just string objects for the properties, but when I have other objects such
Posted to
C#
(Forum)
by
bulgarian388
on 9/19/2009
Re: Linq to Sql and catching duplicate key errors
Hi Wencui, Yes, you are correct on your first question. Aso for the second, I know that the exception is being caught because this code is inside a loop. I know the loop keeps going without problems because I monitor the database as the process is being processed, and I can see the primary keys incrementing denoting it trying to insert the Lead object but failing. So, to answer you quesion, yes, the SqlException is being caught, but the succeding catch statement is not running (as far as I can see
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
bulgarian388
on 8/6/2009
Re: Linq to Sql and catching duplicate key errors
Bumping... Anybody?
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
bulgarian388
on 8/5/2009
Linq to Sql and catching duplicate key errors
Hi guys, so I have an application that needs to import data as a type of Lead, but if it encounters a duplicate key error, it needs to fall back and import the data as type Duplicate. I can get it to work using an if statement, but I want to have it run off of a try/catch block, but it doesn't want to. When it's running off the try/catch block it just tryes to insert the Lead, fails, silences the error, but doesn't try to insert a Duplicate. The code I'm using is underneath. I would
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
bulgarian388
on 8/4/2009
Re: Object reference... error WHEN specifying an optional parameter
Hi T, I tried that, but it didn't do anything, plus that's not where it's crashing. It's crashing on line 17 of my original post: HttpContext Context = HttpContext.Current; Any other ideas? I really don't see at all why it would be crashing there...........
Posted to
Getting Started
(Forum)
by
bulgarian388
on 7/10/2009
Object reference... error WHEN specifying an optional parameter
Hi guys, I have the following code running on an MVC application. When I call the Abstractions.Save() method without specifying the Directory it works fine, the moment I specify it, it crashes with an "Object reference not set to an instance of an object." error on the line where I create my HttpContect variable. So, does anyone have any idea what is causing this? Thanks in advance! using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using
Posted to
Getting Started
(Forum)
by
bulgarian388
on 7/9/2009
Page 1 of 11 (105 items) 1
2
3
4
5
Next >
...
Last »
Channel 10:
Flickr Drive Integrates Flickr into Windows Explorer
Channel 10:
Playfire: A Growing Network for Gamers
Channel 10:
Find the Top iPhone Apps with Bing (Yes, Really!)
Channel 10:
Xbox to Become Emergency Alert System
Channel 10:
Progression of the Iconic Background
WindowsClient:
ASP.NET AJAX 4.0 Data Binding on MSDN Magazine
WindowsClient:
Don’t miss out..
TechNet Edge:
Improving Collaboration with SharePoint - Tech Focus December 2009 Part 1
Channel 9:
Channel 9 Live at PDC09: Scott Guthrie
Channel 10:
Get Discounted Concert Tickets at the New Windows Section 7
Channel 10:
Get Bing Wallpapers on the iPhone
Channel 10:
Bing Gets a New Toolbar
ASP.NET:
More on medium trust: what permission are you missing?
Channel 9:
Channel 9 Live at PDC09: Bob Muglia
WindowsClient:
Adventures With Windows Azure Diagnostics
Mix Online:
Adventures With Windows Azure Diagnostics
Channel 9:
Channel 9 Live at PDC09: Ray Ozzie
Channel 9:
Coding4Fun: DrinkTendr
Channel 9:
TWC9: Scott Hanselman, John Galloway, Bing, parallel unit tests, more
TechNet Edge:
ISA to TMG Migration Guidance
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online