Saturday, July 4, 2009

Need of style sheets....

STYLESHEET:
for suppose..in your project of .net or any other project(vs) you have 8 aspx pages
and you need to have same font in all those pages, the basic thing which we do is that go to each and every page and set the font to your required font, undoubtedly this is a cumbersome task, so to overcome this situation we go for a concept called as style sheets in .net. In .net there is a special document called as stylesheet which enables you to inherit the properties in the style sheet to be embed in your required page...

for example...in the same project your requirement is to have same type of font in all the 8 aspx pages..so v just need to do one thing, set the font in the style sheet and give the link of the style sheet to your required pages, thats it your requirements has been met with ease and efficiency....the main advantage of this style sheet is that the settings are configurable efficiently change in one page reflects in all the pages which inherits it(style sheet).

Thursday, July 2, 2009

My 7 night out weeks

I am posting the links where i worked very recently as a part of pre boot camp in the company called as MAQ.....


Assignment1:

my old website
http://kiranmaq.6te.net/first/homepage.html
my new website
http://kiranmaq1.6te.net/home.html
and i redirected my webpage to the new one when old one is
clicked.....
____________________________________________________

Assignment2:
library management
http://apps.facebook.com/kiranlib
____________________________________________________
Assignment3:
vimeo link:
http://www.vimeo.com/4560570

youtube:
http://www.youtube.com/watch?v=PdQ9V9NE4mg
____________________________________________________
Assingment 4:
azure hosting
http://kiranmaq.cloudapp.net/default.aspx
____________________________________________________
Assignment 5:
birthday application
http://apps.facebook.com/bdaykiran
____________________________________________________
Assignment 6:
leavemanagement
http://apps.facebook.com/kiranmaq
____________________________________________________
Assignment 7:
mobile site
http://kiranmaq.param.mobi

Tuesday, June 30, 2009

Procedure for windows live id authentication

1--Initially u hav to create an application for ur website

go to this link and follow the procedure given there
http://msdn.microsoft.com/en-us/library/bb676626.aspx

domain name keep it empty
give a url where u want to redirect the page once signed in with windows live id
at the end of it u will get application id and secret key

2--then go to visual web developer and open a website
and paste this code

iframe style="BACKGROUND-COLOR: #666666"
id="I1"
name="I1"
marginheight="0"
src="http://login.live.com/controls/WebAuth.htm?appid="your application id here"&Context="your secret key here"&style=font-size%3A+10pt%3B+font-family%3A+verdana%3B+background%3A+white%3B" frameborder="0"
name="I1"
marginwidth="0"
scrolling="no"
align="middle"
marginheight="0"


Imp note:
the above code must be in < and />tags as i could not place those in this blog i am leaving that thing to you ppl to do by yourself

at the end i hope you know that thing....

Note:
make sure that u have changed the appid and secret key in that code.....
even this code can be placed in an html file and u ll get a signin button on viewing the html file where once u signed in it vl redirect it to the page u mentioned while creating your application......


i ll tell what i know about this procedure how it works

whenever you created the application it maintains in the database the following
1.your appid
2.your secret key
3.your return url

once signin button is pressed the appid and secret key are loaded from the signin button itself coz you pasted the appid and secret which u got during the creation of application. then the windows live id checks for the authentication, if the details are right then the appid and secret key both checked for redirecting it to the url which you mentioned. If appid and secret both dint match with any of the details in the database then it vl generate an error. if they are correct then it redirects it to the return url present in the application. If the url doesnt have any page then it generates error 404 mentioning that there is no page requested.......

About this blog

There is nothing great to be discussed about this blog. Actually i am bit selfish in maintaining this blog. Y coz i just want to keep the info about what i learnt in the local system but as i saw advantage in putting this information in internet via blogs websites etc., thought of maintaing one. But creating and maintaining a website is a hectic job....so few of my friends suggested me to use blogs as these are easily used...i am a bit new to these kind of things and even my language is not that much enough to maintain the blogs...as i said its a bit selfish thing and i would be more than happy if i find any person seeking help from this.