1
Posted on 7:50 AM by prajeesh and filed under , , ,
Do you want to play your favourite music when someone opens your website?
just upload the file you want to play and add the following code
<object data="music.mp3" type="application/x-mplayer2" width="0" height="0" >
<param name="filename" value="Testmusic.mp3" >
<param name="autostart" value="1" >
<param name="playcount" value="true" >
< /object&gt

This is a cross browser script, but the browser must be installed with Apple Quicktime plugin.




Shout it kick it on DotNetKicks.com
0
Posted on 7:32 AM by prajeesh and filed under , ,
I written a post regarding forms based authentication earlier, in one of my recent project i excluded some pages from forms based authentication so everyone can access that pages. for doing this you need to include seperate sections in web.config file for the pages to be excluded.
Example:
location path="add_new_articles.aspx" allowOverride="true" >

<system.web >

<authorization >
<
deny users ="?" />

</

authorization >
</
system.web >

</location >

Shout it kick it on DotNetKicks.com
0
Posted on 1:39 AM by prajeesh and filed under , ,
Google enters browser war by releasing new browser "Chrome". Chrome is a browser that combines a minimal design with sophisticated technology to make the Web faster, safer, and easier, you can download it from Here

Main features of Chrome are:
1. One Text box for searching and browsing
Type in the address bar and get suggestions for both search and web pages.
2. Thumbnails of your websites
Access your favorite websites instantly with lightning speed from any new tab.
(Actually opera introduced this feature they called it as speed dial).
3. Shortcuts for your applications
Get desktop shortcuts to launch your favorite web applications.
4. Easy bookmarking
you can bookmark a page by Just click the star icon at the left edge of the address bar .
5. Importing settings
You can import settings from existing browser like Mozilla, Internet Explorer ..etc
6. Safe Browsing
Google chrome warns if you visits a malicious or unsafe websites.
7. Dynamic Tabs
you can drag tabs out of the browser to create new windows.
8. Private browsing
If you dont want to show pages you visited to show in browser history , then you can use incognito mode
9. Simple downloads
you can see downloads at the bottom of your current window.


Video - The story Behind Chrome







Ten features of Google Chrome






Shout it kick it on DotNetKicks.com
1
Posted on 10:48 PM by prajeesh and filed under , ,
Microsoft SQL Server Express edition provides you a simple solution to create and manage your database for free of cost, it supports SQL Server 2005 programming model so it supports Transact-SQL, stored procedures, views, triggers, SQL Server CLR Integration (SQLCLR), and the XML data type.
Creating an SQL Server Express database:
You can create SQL Server database in two ways:

1.Using Visual Web Developer

In Visual Web Developer, open Solution Explorer, right-click the App_Data folder of your Web application, and then click Add New Item.
or
If your application does not have an App_Data folder, right-click the root folder of your Web application, click Add ASP.NET Folder, and then click App_Data.
Click SQL Database, type a name for the .mdf database file, and then click Add.
Two files are created: DataBaseName.mdf and DataBaseName_log.ldf.

2.Using tools provided by SQL Server Express edition
You can also create SQL server database by using CREATE DATABASE command or other tools provided by SQL Server Express Edition management studion

Connecting SQL Server Express Edition Database with ASP.net application:
You can connect to SQL Server Express database just like you connect to any SQL server Database by specifying database server as the local sql server express edition database.
or
you can also specify an attached Database file in App_Data folder.

Connection Strings

1.Specifying database server as the local SQL Server Express Edition database:
Data Source=.\SQLEXPRESS;Initial Catalog=MyDataBaseName;Integrated Security=True;
2.Specifying an attached database file in App_Data folder:
Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=DataDirectory I MyDataBaseName.mdf;
Shout it kick it on DotNetKicks.com