Jack @ ASP.NET

As a software engineer, I focus on .NET, especially asp.net, C#, WCF and so on, and I am also very interested in Search Engine Optimization.

Entries for the ‘webmaster’ Category

Top 5 of my favorite free Windows Live Writer (WLW) plugin

I like free one, so I only list top 5 of my favorite ones.

  1. Twitter Update: (by Krishnan)
  2. Allow you to add up to 3 twitter accounts and tweet according to the blog you post.
    In the options page enter default Twitter account user name and password, which will be used when there is no matching twitter account for a blog is found.
    Add blog home page Urls in the text box (seperated by | if you have more than one) and enter the twitter account details of the corresponding twitter account

  3. Blog This for Firefox:Adds a button to Firefox which starts a new Windows Live Writer blog post prepopulated with content and title from the current web page. Blog the whole page, or just selected snippets. Interacts with other registered plugins to parse and structure web content where appropriate. Blog quickly when you find something of interest on the web.
  4. Syntax Higlighter for WLW: Add smart content editor syntax higlighter 2.0 support for Windows Live Writer.
  5. Facebook Live Writer Plugin: Prompts you to share a link on Facebook whenever you publish a new post.
  6. Tag Generator: A tool to automatically generate tags based on the content of your post. Supports Technorati, WordPress and Blogger

Online pricing models in ineternet market

In general, the online advertising market, pricing model three, marketers can use it to buy advertising and potential customers.

Cost per thousand impressions (per thousand) pricing model display ads – that is, when many people are advertising. CPM display advertising pricing model is usually sold. Problem is CPM advertising is the advertiser’s fees, even if the target audience not to click (or even view) the ad.

CPC costs (per click) advertisers receive overcome this problem, only when the consumer clicks on the ad. However, due to increased competition, keyword search has become very expensive. Double-click the Performics 2007 search trends report shows that in January 2007 cost-per-click (CPC) of less than $ 1 more than the same period last year by nearly six times the number of keywords. The cost for each keyword an increase of 33% per visit up to 55% of the costs.

CPL cost (per line) advertising costs CPM and the Communist Party leadership to resolve the only risk. Every time the leadership of the Communist Party of increased demand for the same price. Also like the Communist Party’s commitment to providors way to create a chance or mixed with another (for example – search for clues leads and joint registration) fraud led to the source to generate higher profits.

Marketers who are willing to pay the specific actions will only have two choices: CPL advertising (or online lead generation), and CPA advertising activities in the CPL (. Also known as affiliate marketing are known), interested advertisers pay Lead – Advertisers who are interested in that product or service contact information. CPL’s activities is to brand marketers and direct response marketers, see the contact point for customers – by creating a community site, Membership Rewards program or acquisition plans mailing list. Activities in the certified public accountants, advertisers usually pay the credit card transaction has been completed, involved the sale. CPA is all about ‘now’ – this is a consumer purchase, focusing on the promotion of the moment. If a site does not have the tourists to buy things, there is no simple way to remarket them.

Performance tuning tips for ASP.NET and IIS 7

1. Browser caching

In part 1, we looked at how it was possible to set an expiration header to any static file such as JavaScript and CSS files, so the browser would cache them for a long time and thereby optimize both for bandwidth and the number of requested files going from server to browser.

The problem with setting a browser cache expiration date of i.e. a JavaScript file to a year in the future becomes clear when you change the file before it expires in your visitor’s browsers. They simply won’t see the changes until they either clear their cache or hits F5 manually.

2. Bundle multiple files

Another common website performance issue is that there are many JavaScript and CSS files included on a page. This scenario results in the browser have to download a lot of extra files and that all slows down the performance of a website. The solution to this is also very simple when you’ve first completed the above steps to register the HTTP handler in web.config and called the BundleHelper.InsertFile method when inserting JavaScript and CSS files.

3. HTTP compression

You’ve always been able to perform HTTP compression in ASP.NET by using third-party libraries or own custom built ones. With IIS 7 you can now throw that away and utilize the build-in compression available from the web.config. Add the following line to enable HTTP compression:

<urlCompression doDynamicCompression=”true” doStaticCompression=”true” dynamicCompressionBeforeCache=”true”/>

By default, only text based content types are compressed.

4. Cache static files

To speed up the load time for the visitors, it is crucial that everything that can be cached by the browser IS cached by the browser. That includes static files such as images, stylesheets and script files. By letting the browser cache all these files means it doesn’t need to request them again for the duration of the cache period. That saves you and your visitors a lot of bandwidth and makes the page load faster. A well primed browser cache also triggers the load and DOMContentLoaded event sooner.

It’s worth noticing that the output caching respects file changes and therefore refreshes ever time changes are made to the JavaScript and CSS files tunnelled through this code.

WebMatrix – Microsoft’s new web tool

What Is It?

WebMatrix is everything you need to build Web sites using Windows. It includes IIS Developer Express (a development Web server), ASP.NET (a Web framework), and SQL Server Compact (an embedded database). It streamlines Web site development and makes it easy to start Web sites from popular open-source apps. The skills and code you develop with WebMatrix transition seamlessly to Visual Studio and SQL Server.

Why Use It?

You will use the same powerful Web server, database engine and web framework that will run your Web site on the Internet, which makes the transition from development to product seamless. Beyond ensuring everything just works, WebMatrix includes new features that make Web development easier.

Who’s it for?

WebMatrix is for developers, students, or just about anyone who just wants a small and simple way to build Web sites. Start coding, testing, and deploying your own Web sites without having to worry about configuring your own Web server, managing databases, or learning a lot of concepts. WebMatrix makes Web site development easy.

Code Without Boundaries

WebMatrix provides an easy way to get started with Web development. With an integrated code editor and a database editor, Web site and server management, search optimization, FTP publishing, and more, WebMatrix provides a fresh, new Web site development experience that seamlessly bridges all the key components you need in order to create, run, and deploy a Web site.

Top Features:

Small, but complete package

WebMatrix is a free Web development tool that installs in minutes and elegantly brings together a Web server, a database, and programming frameworks into a single, integrated experience. WebMatrix lets you code, test, and deploy both ASP.NET and PHP applications side by side.

Grows with you

With WebMatrix on your desktop, you’re using the same powerful Web server, database engine, and frameworks that your Web site on the internet uses. This ensures that your transition from development to production is smooth and seamless.

When you’re ready, WebMatrix integrates Visual Studio into your workflow. Connect to Visual Studio to take advantage of powerful features such as debugging and profiling. And when you’re ready for a high-volume relational database server, move your database and data from SQL Server Compact to SQL Server with just a click of the mouse.

Start > Open Source

WebMatrix connects you to a world of popular and free open-source Web applications, including DotNetNuke, Umbraco, WordPress, Joomla!, and more. Simply select an application from the built-in gallery, and WebMatrix handles the downloading and installation of your new Web site. The days of hand-editing configuration files and making sure you have all the right components are long gone. Customize your site using the built in code editor and make it yours.

Database made simple

Using a database has never been easier! WebMatrix includes a small, embedded database called SQL Server Compact that can live with your Web site code and content. Use it to start building your next Web site, and when you’re ready to publish, just copy the database file from your computer to any Web server and it will run— no extra installation required. Or you can easily migrate the database and data to SQL Server when you’re ready for high-volume traffic.

Elegant interface, simple experience

WebMatrix integrates a rich code editor, a database editor, Web server management, Search Engine Optimization, FTP publishing, and more, WebMatrix provides a fresh, new, Web site development experience that bridges all the key components you need to create, run, and deploy a Web site.

Simple to code

WebMatrix is the easiest way to learn standards-based Web development and makes it simple to build and publish Web sites on the internet. Start with HTML, CSS and JavaScript and then seamlessly connect to a database or add in dynamic server code using the new ‘Razor’ syntax for ASP.NET Web pages. Your code is easy to read, simple to learn, short to write and works with any text editor. Use built-in helper functions to connect to a database, display a Twitter feed, or embed a video. And with a seamless path to ASP.NET MVC it is now easier than ever to create powerful ASP.NET Web applications.

More than “Hello, World”

Want to display a Twitter feed? Need to show a video? Code helpers make common tasks easy to do with just a simple tag in your HTML.

Desktop or server, it’s all the same

WebMatrix uses the same powerful Web server, database engine, and frameworks environment that will run your Web site on the Internet, which makes the transition from development to product seamless.

Tightly knit, fully integrated

WebMatrix integrates with IIS Developer Express and is tightly linked with the Web server components that run your site. Directly monitor real-time Web requests and responses to track down problems right at the source. Missing an image? You’ll instantly see why and where, and WebMatrix will take you directly to the file to fix the problem.

Optimize for search

Run an SEO report and find how to make your site more visible to search engines. WebMatrix takes the secrets out of search engine optimization, provides clear guidance on how to make your site better, and even offers to take you right to the file in your site you need to fix.

Site publishing

With WebMatrix you can find the perfect home for your Web site. Use WebMatrix to find a Web host that fits your requirements and use the built-in publishing support for FTP, FTPS, and WebDeploy to ensure that your files, databases, and settings arrive intact on the web.

Try Expression Web 4 now

Microsoft Expression Web 4 is a professional development and design tool to create modern, standards-based Web sites that use PHP, HTML/XHTML, CSS, JavaScript, ASP.NET or ASP.NET AJAX.
The highlight including:

  • Create standards-based Web sites faster & easier
  • Professional code editor & design surface
  • Make your site stand out with rich graphics support
  • Work with leading industry-standard technologies

What’s new in Expression Web

SuperPreview online service

The Microsoft Expression Web SuperPreview online service is a beta service that extends the capability of SuperPreview to include support for additional browsers and operating systems.

SEO Checker

The SEO Checker feature of Expression Web analyzes your site against the best practices for getting the highest possible search-engine rankings for your site.

You can choose SEO options, display an SEO report, filter the results in the SEO report, and step forward and back through the list of results in the SEO report to see more detail for individual list items.

You can try the 60-day free trail at http://www.microsoft.com/downloads/details.aspx?FamilyID=7b10272b-2f96-4250-aede-3fcfadf26f34

jQuery 1.4 Released

In celebration of jQuery’s 4th birthday, the jQuery team is pleased to release the latest major release of the jQuery JavaScript library! A lot of coding, testing, and documenting has gone into this release, and we’re really quite proud of it.

You can feel free to include the above URL directly into your site and you will get the full performance benefits of a quickly-loading jQuery.

With jQuery 1.4 we attempted to minimize any large upgrade hassles – maintaining the signatures of all public functions. That being said, please read through the list of potentially-breaking changes to be aware of what might cause problems in your applications.

Features

Below is an overview of all the changes and functionality added to jQuery 1.4. Additionally all of the changes have been documented in the jQuery 1.4 docs.

And you can go jQuery.com to view the detail