|
| |
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
Recently I came across a website with unique concept
www.suggestadoctor.in. The concept work like this...All of us need
some medical help at some times in our lives. But as you know, finding a good
Doctor for ourselves is a task which is often full of doubts and uncertainty. At
such a time, someone else's experiences and recommendations can make a world of
difference.
SuggestADoctor.com
invites visitors to add recommendations based on their experience with the
doctor. Also if you are looking for a doctor, this website can give a
comprehensive list.
Well I feel it was worth to note about this website.
|
|
|
Since the introduction of "Declarative binding" in ASP.NET,
many of you have been asking me what's Declarative programming?, what's AOP?
etc. so I thought let me blog a bit about it here of what I know..
There are many approaches to programming, two of them are imperative programming
and declarative programming
Imperative Programming is a programming language in which programs consists of
series of commands to execute in a particular order. this commands describes
computation as statements that change a program state. Procedural programming
languages are good examples of Imperative Programming.
Declarative programming focuses on "what" is to be computed, rather than "how"
the computation is to take place. it is in contrast to Imperative Programming.
Classic example of Declarative programming is HTML, XAML, XSLT which describe
what page should contain rather then how to actually display them.
SQL is another example of declarative programming since SQL statements like
select focus on what data to extract rather then how to extract.
Imperative programs explicitly specify an algorithm to achieve a goal, while
declarative programs explicitly specify the goal and leave the implementation of
the algorithm to the support software.
Attribute Programming(AOP): Like declarative programming, Attributes separate
application's core logic (or business logic) from application-specific or
domain-specific semantics. By hiding the implementation details of those
semantics from program code, attributes increase the level of programming
abstraction and reduce programming complexity, resulting in simpler and more
readable programs. The program elements associated with attributes are
transformed to more detailed programs by a supporting tool (e.g. preprocessor).
|
|
This is the new thing hitting market now a days. SDD Drives.
The technology is expected to replace HDD in near future. SDD stand for "Solid
State Drives". These are essentially similar to FLASH drives or USB Sticks.
To read from HDD the disk should spin at 5400 or 7200 RPM, but in SDD there is
no Spinning, instead its made up of Array of Flash Memories designed in such a
way that it can retain its memory even after computer Shutdown.
They are current available in 32GB and 64GB storage capacity
which obvious does not suite needs for large storages, Its best suitable for
entry level computers where usage is for limited purpose like browsing internet
and working with MSOffice.
As the technology will advance, the current disadvantages like
High Price, Robustness, Speed and Storage capacity will improve.
More Information:
http://www.samsung.com/eu/Products/Semiconductor/products/ssd.asp
|
Flexible Display also known as OLEDs is expected to be the technology of the year 2008. Compared to LCD
and LED, today’s dominant flat panel display technology, OLEDs (organic
light-emitting display) are thinner, lighter and more attractive, OLEDs offer
much faster response times, wider viewing angles, higher contrast ratios and
brighter.
LCD and LED displays both are fragile and heavy. OLEDs are created with flexible polymer substrates it involves the emission of light after voltage is applied to a molecule, which spits out red, green, and blue protons. Its light weight as
much as 1.6g. Another plus point is there's no distortion of colors as angles changes
It is ultra thin and light and offers outstanding natural color reproduction. It is also claimed to consume less power.
These are good features for decreased laptop weight and increase in battery
hours.
Watch Video here:
http://www.youtube.com/watch?v=Rn10mRyBqAE
|
|
I was typing fast in VS2008 editor and encountered that when
IntelliSense is on and you press CTRL key the IntelliSense menu almost
disappears and comes back on release of CTRL key, actually the menu is
there but Opacity is set to minimum so you get a
transparent feeling.
One more difference I noticed was that when you type open brackets "("
for a method you can scroll though the list its overloaded methods syntax
using UP/Down arrow keys. In VS2008 IntelliSense menu also appears and
UP/Down arrow keys no longer works. you need to press ESC key
first and then can use UP/Down arrow keys to scroll though the list its
overloaded methods.

What Microsoft could have done is .. after open brackets "(" , show both
items (IntelliSense and Overloaded Methods) and wait for the User key ,
if UP/Down arrow keys are pressed scroll through Overloaded list and if
any keys other then UP/Down is pressed jump to IntelliSense list.
|
|
|
Those who have worked with older databases using OLEDB will have an
idea of what I am talking about. Yes older version of database
understands only positional notations. I believe ADO 2.5 with AccessDB
and SQLServer introduced named parameters/notations. Later even Oracle8i
& above now accepts named notations
Positional Notation
This is the default. In Positional notation each value in the
list of arguments supplied in the program call is associated with the
parameter in the corresponding position.
eg: Select * from Products where ProductCategory = ? and ProductType=
?
Named Notation
The order in which you define the Parameter objects is no longer
important. This explicitly associates the argument value with its
parameter by name (not position). When you use named notation, you can
supply the arguments in any order. with one exception: If you
specify the @RETURN_STATUS parameter (it must be named @RETURN_STATUS
eg: Select * from Products where ProductCategory = @ProductCategory and
ProductType = @ProductType
|
|
Inspiration. Conversation. Education
MIX
is a Microsoft conference held annually for web developers and designers
at which Microsoft showcases upcoming web technologies. MIX 07 was held
from April 30 to May 7 2007. The primary focus of the MIX 2007 was
promoting SilverLight. This year its scheduled from March 5-March 7,
2008 and I think this year the focus shall be on Microsoft IE8 , MVC
Patten and SilverLight 1.1
Do you wish to attend the conference you can register here.
http://www.visitmix.com/2008/registration.aspx
Keynote presentations from
Steve
Ballmer,
Scott
Guthrie and
others
unveiling Microsoft’s latest web-oriented products and technologies.
A comprehensive program of breakouts for designers, developers and
business strategists led by industry experts is available here :
https://content.visitmix.com/public/sessions.aspx
Mix08: The Next Web Now
The Venetian Resort Hotel Casino, Las Vegas, March 5-7, 2008
|
|
|
Sabeer Bhatia a well-known name in IT World, He was the co-founder of
HOTMAIL.COM which was later sold to Microsoft. Sabeer is back again with new
service. He has launched a new free conference calling solution
www.SabseBolo.com. The
solution is aimed to target Indian market. Its Free to use, all you have to do
is register yourself through site and get your Conference Dial-In Number,
Conference ID and Conference Pin Number.
How it works: Once registered to start a Conference call, you and your participants should
call +91-(0)22-3980-4444, enter the conference ID number followed by a # sign
and then enter the 4 digit pin number followed by a # sign and you are done. You
can have as many as 10 participants including yourself in a Conference call.
Service is available 24/7 and as per Sabeer revenue for this business would
be generated through advertisements.
|
|
When you are building website you very much need an FTP utility to
upload your application on the live server. VS2005/8 has an inbuilt
small FTP utility which will allow you to connect to your FTP WebSite.
Select "Copy Web Site" option from "WebSite" Menu. Click connect
and you will able to enter FTP address with your login credentials.
The only limitation I currently see is it forces the local and
server directory structure to the same. So if you change your local
directory it will also change the same on server too, this could be a
problem if you wish to use FTP for your non-project FTP WebSite. Perhaps
Microsoft should include a full featured FTP utility which users can use
the way they want. Currently best professional FTP utility I have
encountered is
CuteFTP and a Freeware utility with very light footprint called
WS-FTP.
|
 |
|
The ASP.Net MVC Framework is a new project that the ASP.Net team is
working on to give developers an alternate/better way to do web
development in the ASP.Net environment. Model View Controller(MVC) is a
well known presentation pattern that has been used in many environments
with a variety of different languages. It enables the developer to
achieve better separation between data, program flow and the actual
presentation(html). By getting the optimal separation between data, flow
and presentation your projects can be more maintainable as well as more
testable.
Download ASP.NET MVC
|
|
| Reviewing a code is a painful task, especially understanding logic
of others. When I sit down to review code, developers and team thinks it
will take whole day for me to find a bug, but when I revert to them in 5
mins they get a shock, They forget I am not a tester ,I am reviewing
code for possible errors or performance issues or better way of writing
the same and there is no magic, If you have basic rules with you then
its easy to identify common issues. Lets look at code below , do you
find any possible issues with it ?
Dim
datareader
As
SqlDataReader =
Nothing
Try
datareader =Get.ExecuteReader()
While
datareader .Read()
ItemID = dr.Item("ItemID")
IName = dr.Item("IName")
End
While
datareader.Close()
Catch ex
As Exception
' Some Exception handling routine
Finally
If
datareader IsNot
Nothing
Then
datareader.Close()
End
If
End
Try
Everything looks good except dr.Item("IName") can thow null exception.
Any field which can hold null values can cause the problem while reading from
datareader. The correct way is as below
If not dr.IsDBNull(dr.GetOrdinal("IName")) Then
IName = dr.Item("IName")
End if
This is very basic that every developer should take care and
yet most of the time its ignored.
|
|
|
Ha Ha this one is interesting. I was playing with HTML view of VS2008 and
happen to encounter an HTML tag <bdo>, what a funny tag
name, with curiosity I typed <bdo dir="rtl"> This is a funny HTML tag </bdo> to find out
what it does, and guess what this was the output
This is a funny HTML tag
HTML <bdo> element overrides the default text direction. I don't know
what does BDO stands for and what is the purpose of such a tag, but it was quite
interesting to share. may be if someone knows it full form or its exact purpose,
please share with me too. :)
ALSO
We spend some time in giving style to our HTML content , I found a couple of
other tags which already has some style in-built which we can use.
| Source |
Output |
<em>Emphasized text</em><br />
<strong>Strong text</strong><br />
<dfn>Definition term</dfn><br />
<code>Computer code text</code><br />
<samp>Sample computer code text</samp><br />
<kbd>Keyboard text</kbd><br />
<var>Variable</var><br />
<cite>Citation</cite> |
Emphasized text
Strong text
Definition term
Computer code text
Sample computer code text
Keyboard text
Variable
Citation
|
|
|
Microsoft has release source code for .net 3.5 for the following libraries
- Mscorlib.DLL
- System.DLL
- System.Data.DLL
- System.Drawing.DLL
- System.Web.DLL
- System.Web.Extensions.DLL
- System.Windows.Forms.DLL
- System.XML.DLL
- WPF (UIAutomation*.dll, System.Windows.DLL, System.Printing.DLL,
System.Speech.DLL, WindowsBase.DLL, WindowsFormsIntegration.DLL, Presentation*.dll,
some others)
- Microsoft.VisualBasic.DLL
In VisualStudio 2008 you can walkthrough the sourcecode when you are in debug
mode. if required Symbols are loaded and you hit F11 on any in-built
.NET function/property you will be taken to its sourcecode view and continue to
debug step by step.
You will need to download a patch for VS2008 available here [
Click Here ] 1.17 MB file size. Its a Zip exe, on double click
it will extract installable in specified location. The file name of installable
is VS90-KB944899.exe. It takes approx 3min to install depending on the speed.
After you install the patch, proceed with following steps to let VS2008
download symbols/p>
Start Visual Studio 2008 and bring up Tools > Options > Debugging > General.
If you are running under the Visual Basic Profile, you will
need to check the box on the lower left of the Options Dialog
marked "Show All Settings" before continuing (other profiles
won't have this option).
Set the following two settings:
- Turn OFF the "Enable Just My Code"
setting
- Turn ON the "Enable Source Server Support"
setting
Your settings should be as below:
Next, bring up the "Symbols" Page and set the symbols download URL and a
cache location. Specifically, set the three settings below:
- Set the symbol file location to be:
http://referencesource.microsoft.com/symbols
- Set a cache location. Make sure this is a location that your
account has read/write access to. A good option for this is to place
this path somewhere under your user hive (e.g. c:\users\sburke\symbols)
- Enable the "Search the above locations only when symbols are loaded
manually" option.
When you're finished, the settings should look like the image below:
Setup is done! More information can be found
here
|
|
|
From ASP.NET 2.0 the compiler outputs multiple assemblies in bin folder rather
then single assembly as in 1.0 and 1.1. By default, the compiler works in "batch
mode," in which the output of multiple source files is compiled into single
assemblies according to the type of file, file dependencies, and other criteria.
The result is a target site containing a set of assemblies with the executable
code for the original source files.
Where multiple assemblies has its own advantage it has its side effects too. The
problem is that assembly naming is random and each time you compile your website
it will generate assemblies with different names. So if you make changes in one
source file, its difficulty to know which assembly file to copy on live server.
We do have an option of asking compiler to generate -fixednames, but you still
need to manage set of assemblies.
To address these issues
ASP.NET 3.5 includes a new merge tool (aspnet_merge.exe). This tool lets you
combine and manage assemblies created by aspnet_compiler.exe.
The following command merges all Web application assemblies into a single
assembly and names the resulting assembly MyApp.dll:
aspnet_merge -o MyApp.dll C:\MyTarget
Where MyTarget is your Publish directory.
Usage:
aspnet_merge [-?] applicationPath [-keyfile filename [-delaysign]]
[-o assemblyname | -w assemblyname | -prefix prefix]
[-copyattrs [assemblyfile]] [-debug] [-nologo]
[-errorstack] [-r] [-xmldocs] [-a] [-log logfile]
[-allowattrs filename]
-? Display this help text.
applicationPath The physical path of the precompiled application.
-keyfile The physical path to the strongly name keyfile.
-delaysign Delay sign the merged assemblies.
-o Merge the entire application into a single assembly with
the given name. This option cannot be combined with the
-prefix or -w options.
-w Merge the application Web files into a single assembly with
the given name. This option cannot be combined with the -o
or -prefix options.
-prefix Prefix the merged assembly names with a specified string.
This option cannot be combined with the -o or -w options.
-copyattrs Copy the assembly level attributes from the input assembly.
If input assembly is not specified, the main App_Code
assembly will be used instead.
-debug Preserve debug information in the merged assembly. The
default is to remove debug information.
-nologo Suppress the copyright message.
-errorstack Show additional information that can help debug certain
conditions.
-r Remove the .compiled files for main code assembly. This
option should not be used if your application contains any
explicit type references to the main code assembly.
-xmldocs Merge the xml documentation files associated with the input
assemblies.
-a Force merge the assemblies.
-log Log messages to the specified file.
-allowattrs Use the specified text file which contains attributes to
exclude when checking consistency of attributes in merged
assemblies. Each line of the file can either be a fully
qualified name of an attribute, or a namespace. If a
namespace is specified, all attributes found in the
namespace will be excluded.
|
|
In late February Microsoft will launch the biggest update to
the MSDN Subscriber Downloads experience. They are making it a lot
easier and faster to find your downloads and access your Product Keys,
and are adding new features to help with exploring available content.
Summary of changes:
- Downloads and Product Key access will be integrated in the
existing Subscriber experience (rather than going off to a separate
system)
- Navigation and discoverability of Products will be improved
- Product Keys will be more integrated with Products
- Expired Subscribers will be able to see Product Keys they had
claimed
- Subscriber content will be visible to Subscribers and
non-Subscribers - but the ability to initiate downloads will be
limited to Subscribers who are entitled to the selected product.
More details about the changes, as well as screen-shots are announced
at this URL:
http://msdn2.microsoft.com/hi-in/subscriptions/cc135989(en-us).aspx
|
|
|
|
|
|
|
|
|
|
|