Introducing DomainFindr

Today I had my first app approved for Windows Store so as of today, available on Windows 8.1, is DomainFindr. For now, its a client for Domainr (mentioned many-a-time on this site) for the Windows Store (Metro) environment. But it may become more than that in the future – who knows!? Official Website/Wiki

Breaking String URL into Route Data ASP.NET MVC

Getting your route data into URL format is easy – simply use the UrlHelper (Url.Action). But reversing this, and parsing a URL is a bit more fiddly: string path = “”; string queryString = “”; System.Web.Routing.RouteData routeFromUrl = System.Web.Routing.RouteTable.Routes.GetRouteData(new HttpContextWrapper(new HttpContext(new HttpRequest(null, new UriBuilder(Request.Url.Scheme, Request.Url.Host, Request.Url.Port, path).ToString(), queryString), new HttpResponse(new System.IO.StringWriter())))); You can then use … More Breaking String URL into Route Data ASP.NET MVC

How to do a Dump

LINQPad is a nice piece of software for testing LINQ queries (or any other code, really!) The default input method (or ‘language’) is set to “Expression”. However, using the “Statement(s)” language, you can enter more than 1 line of code and it will evaluate it for you. To inspect a LINQ statement using Statements (like … More How to do a Dump