Geeks With Blogs

Tiago Salgado .NET / SQL Server / IT / etc... May 2011 Entries
pinify–The jQuery Site pinning Plugin
A jQuery Plugin for adding IE9 features (site pinning, site mode, etc.) to your websites. Several new features of Internet Explorer 9 are designed to enhance the browsing experience of consumers by enabling sites that leverage certain features to behave like applications on the desktop when those sites are ‘pinned’ to the taskbar in Windows 7. A user pins a site by dragging the site’s tab (or favicon in the address bar) to the taskbar. For all sites, IE9 will create a default experience (called ‘site ......

Posted On Sunday, May 15, 2011 5:33 PM

Application Name on ConnectionString
When I am working on some project, it is normal to need to analyze the queries that are executed on the database to detect a possible bug or something that is not matched with what I expected. For this, SQL Server Profiler gives me a good and quick overview of what is being requested for each connection to the database. The case of a registration in the profiler can be shown as: As can be seen in the Application Name column has the value ".Net Sql Client Data Provider", which makes it very difficult ......

Posted On Wednesday, May 11, 2011 10:51 PM

jQuery Menubar and web.sitemap
After HTML 5 Microsoft WebCamp Portugal, I came up with some interest in exploring the Menubar plugin. This plugin transforms a list into a nice menu, and as such, I like to implement it on a project which I use web.sitemap. To this, I needed to use an XSLT to transform the web.sitemap file, which is nothing more an XML, into an unordered list in a format required by Menubar. Here’s an example of web.sitemap file: <?xml version="1.0" encoding="utf-8"?> <siteMap xmlns="http://schemas.micro... ......

Posted On Wednesday, May 11, 2011 10:36 PM

ASP.NET Membership Lock User
Since we don’t have a direct way to indicate that some user will be locked, the only way I got to do that, was forcing a wrong login multiple times, until reach the maximum attempts defined on “maxInvalidPasswordAttemps” attribute. When we use ASP.NET Membership, on web.config file you have something like this: <add name="AspNetSqlMembershipPr... type="System.Web.Security.S... connectionStringName="MyApp... enablePasswordRetrieval="fa... enablePasswordReset="true" ......

Posted On Monday, May 2, 2011 2:03 PM

Copyright © Tiago Salgado | Powered by: