Posted by Daryl Orwin in .NET
on Feb 9th, 2012 | 1 comment
Just found a fun little “feature” with setting cookies in asp.net.
Apparently there is a restriction when setting a cookie on a domain with an underscore in the name. Not entirely sure WHY however since it appears that all other browsers do not have an issue.
Testing confirms what accessing the site via IP address sets the cookie correctly or using a different domain name for the server.
Just strange.
Posted by Daryl Orwin in .NET, CRM 4.0
on Nov 13th, 2010 | 0 comments
Hello,
Every so often I am asked how to go about capturing a contact web form and pushing it’s data into CRM as a Lead for an Internet Facing Deployment(IFD).
What’s different when connecting to the IFD CRM is that we need to make use of the ticketing system in the web service. As you’ll see in the code snippet below I’m generating a ticket that I use to authenticate and apply it to the token for future calls.
// For an IFD site we need to connect to the CrmDiscoveryService and retrieve a ticket
// Note the AuthenticationType attached to the Token below.
...
Posted by Daryl Orwin in .NET, LINQ, RSS
on Oct 18th, 2010 | 0 comments
Hello,
While setting up our corporate Blogs I was tasked with displaying our blog RSS feeds on the corporate domain. I’ve previously accomplished this in asp.net by parsing the feed and displaying the results however this time I wanted to try something a little different.
Recently I’ve started to use LINQ a lot in my development efforts to rapidly query data that otherwise would require more plumbing. While surfing across the blogosphere I came across the following post from Scott Guthrie. This was pretty much what I was looking for with the exception of adding some data caching.
The...