Tuesday, October 13, 2015

HTML Control Vs. ASP.Net Control


HTML Controls   
ASP.Net Controls           
HTML control runs at client side.
ASP.Net controls run at server side.

You can run HTML controls at server side by adding attribute runat=”server”.

You can not run ASP.Net Controls on client side as these controls have this attribute runat=”server” by default.
HTML controls are client side controls, so it does not provide STATE management.
ASP.Net Controls are Server side controls, provides STATE management.
HTML control does not require rendering
ASP.Net controls require rendering.
As HTML controls runs on client side, execution is fast.
As ASP.Net controls run on server side, execution is slow.
HTML controls do not have any separate class for its controls.
ASP.Net controls have separate class for its each control.
HTML controls does not support Object Oriented paradigm.
With ASP.Net controls, you have full support of Object oriented paradigm
HTML controls can not be accessed form code behind files.
ASP.Net controls can be directly worked and accessed from code behind files.
HTML control have limited set of properties and/or methods.
ASP.Net controls have rich set of properties and/or methods.


Enter Name :

< input type="text"  ID="txtName" >
Enter Name : 
<asp:TextBox Id="txtName" runat="server”>
 

Friday, August 21, 2015

Comparison of Oracle & SQL Server Management Tools

 What is the main tool to administer the database?
SQL Server -The main tool is SQL Server Management Studio.   
Oracle -For Oracle by default Oracle SQL Developer is usually installed.

What tool is used to create reports?
SQL Server -SQL Server Reporting Services (SSRS) is primarily used for reporting. These tools are usually combined with SharePoint, but it can also be stand-alone.
Oracle -You can also use Power View, PowerPivot, etc..

What tools are used for replication?
SQL Server -You can use SQL Server Management Studio and go to the replication node to implement SQL Server Replication. You can also use T-SQL scripts. Another option is Microsoft Sync Framework.   
Oracle -In Oracle 12c you can use the advanced Replication Interface in Oracle Enterprise Manager Cloud Control. The replication management API is a set of PL-SQL packages. This is used to replicate data using the command line.


What tools are used to create programs to connect to the database?
SQL Server -You can program with several platforms, but Visual Studio is the main Microsoft development environment used to program in C#, C++, J#, F#, VB.net, etc.   
Oracle -You can use several Platforms, but the main Oracle tool is Java.

What platform is used to work in the cloud?
SQL Server- There are several tools to work in the Cloud, but the platform used by Microsoft is Microsoft Azure.
Oracle- There are several tools to work in the cloud, but the platform used by Oracle is the Oracle Cloud.

Does the database accept multidimensional databases (OLAP)?
SQL Server - SQL Server Analysis Services (SSAS) accepts multidimensional databases. You can use SSMS or the SQL Server Data Tools to create them. Also, you can do it programmatically using AMO (Analysis Services Management Objects) using your favorite programming language.
Oracle -You can use Essbase to create multidimensional databases.

Is there a way to do database mirroring?
SQL Server - You can use SSMS or T-SQL to use the Database Mirroring technology.
Oracle -You can use Storage Remote Mirroring and Active Data Guard.

Is there a way to do log shipping?
SQL Server -You can do Log Shipping using SSMS or T-SQL scripts.
Oracle -You can do log shipping, but it is recommended to use other High Availability solutions like Data Guard.

Friday, August 14, 2015

Google's abc.xyz

One giant winner in Google's rebranding announcement: Daniel Negari.
Negari is the founder and CEO of XYZ.com, an Internet domain registry that owns alternative suffixes like .rent and .college. His 10-person company also owns .xyz.
Abc.xyz is the web address for Google's new parent entity, Alphabet Inc.

Google announced on Monday a dramatic restructuring that breaks out the Web giant's core business into a separate company under a new umbrella called Alphabet. Other companies that will be part of Alphabet are the life sciences unit and Calico, which is focused on longevity.

Larry Page, co-founder and CEO of Google, will assume the CEO role of Alphabet, with Google co-founder Sergey Brin serving as president. Sundar Pichai, head of product and engineering, is now CEO of Google. Alphabet is replacing Google as the publicly-traded entity.
Currently, abc.xyz is just a landing page, with a letter from Page explaining the changes and some blocks with letters

"It's a big deal for new top-level domains as a whole," said Negari, who has operations in Santa Monica, California, and Las Vegas. "It's a big signal that Google, which is the largest search engine in the world, believes in it enough to switch to one."

Thursday, April 30, 2015

New Features in ASP.NET 2015 | ASP.NET 5

Whenever you made any change in your project, you have to rebuild it to check its effects. But now in ASP.Net 2015,there is no need to rebuild it again, as it used Roslyn compiler for this.

    Earlier we need to do lot of configuration for publishing or deploying project in cloud, but now in ASP.NET 2015, you can easily migrate and deploy your project using cloud ready configuration. Tip for publishing project in cloud: first by converting your asp.net project to azure cloud project and then publish that converted azure project.

    In .Net 5, you can easily IIS host or self host, your asp.net 2015 project.

    Asp.net 2015 has open source in github, that means you can find code of asp.net 5 from github, and you can make repository of your project in github just live svn.

    ASP.NET uses 3 types of run time engine
        1. Full .Net CLR (Default)
        2. Core CLR (Include only those which is needed in your application for ex using system.console only)
        3. Cross Platform CLR (For running app on mac and linux os)

    In ASP.Net 2015 you can run new and old version code together. For this you have to use core CLR.

    No need to add assembly in references, you can directly add assembly name with version in project.json file. Intellisense will work for this.

    In ASP.Net 2015, you can easily use MVC, web api and web pages together without any conflicts of their features, as MVC 6 is introduced for this. So there is no need to write different code for all three technologies.

    ASP.NET 5 uses new http pipeline, which uses less overhead in pipeline and improves http performance.

    ASP.NET 5 can use dependency injection i.e. can replace module with another module without altering the client.

    ASP.NET 5 can run older version asp.net application without modification of any code except mvc6 and signal r 3, as they use new http pipeline.

Friday, April 17, 2015

Difference between c#.net & VB.net

Here are some key difference in C# and VB.NET other than syntax difference.

  1. In C#, using keyword is used to release unmanaged resources. (Not available in VB.NET)
  2. Optional parameter is supported in VB.NET. (Not available in C#).
  3. Structure and unstructured error handling (On Error GoTo) is supported in VB.NET. (Unstructured error handling is not supported in C#).
  4. Event gets bind automatically in VB.Net.
  5. VB.NET is not case sensitive where C# is.
  6. Shadowing: – This is a VB.Net Concept by which you can provide a new implementation for the base class member without overriding the member. You can shadow a base class member in the derived class by using the keyword “Shadows”. The method signature, access level and return type of the shadowed member can be completely different than the base class member.

    Hiding
    : – This is a C# Concept by which you can provide a new implementation for the base class member without overriding the member. You can hide a base class member in the derived class by using the keyword “new”. The method signature, access level and return type of the hidden member has to be same as the base class member. Comparing the two:- 1) The access level, signature and the return type can only be changed when you are shadowing with VB.NET. Hiding and overriding demands these parameters as same.
    2) The difference lies when you call the derived class object with a base class variable. In class of overriding although you assign a derived class object to base class variable it will call the derived class function. In case of shadowing or hiding the base class function will be called.
  7. Visual Basic .NET can also force parameters to be passed by value, regardless of how they are declared, by enclosing the parameters in extra parentheses. There is no way to achieve this thing in C#.

Wednesday, April 15, 2015

HOLOLENS - Microsoft's New Wearable Gadget

This new gadget will be available with the Microsoft’s newest operating system: Windows 10 and will provide powerful holographic platform. Hololens are developed by the same engineers who developed Xbox game’s Kinect motion sensing system. This device will release at the same time with Windows 10 in autumn.

Hololens is worn over the eyes like goggles. This futuristic gadget will offer a new way to communicate which use holograms: three dimensional & high definition realistic images in your daily life.
Hololens by Microsoft

This gadget have lots of sensors that tracks your movements and uses that information to create images with which you can interact from different angles. Hololens camera looks at the location, maps it & identify the physical objects present there like chair, table , etc in a room and by using that information it projects/pins the 3D images at appropriate place. I must say your room becomes canvas for your holographic games & projects with this Microsoft’s  Hololens.




This flashy & glossy gadget has no wires and transforms your world into 3D objects, machines or people that are transparent and floating in the midair. Hololens wearer will see the real world + a virtual screen with it whether on your room walls, in living room.
HoloLens
 Hololens  will be new medium to express creativity, a more efficient and effective way to teach, learn, visualize and share ideas. It will put your imaginations into reality and will be effective platform to collaborate and explore.


Sunday, March 22, 2015

Vivaldi Web Browser

Startup Vivaldi Technologies debuted a new browser,This is company is founded by  ‘Jon Stephenson von Tetzchner’ former co-founder & CEO of Opera.

Vivaldi Web Browser

 A freeware web browser that not only fast but rich in features & functionality. In this browser Opera’s Presto engine is switched to Blink.  This browser is available for Linux, Windows and OS X. Within 10 days of release, more than 5,00,000 download is noted.

Features of Vivaldi

  1. Minimalistic interface with basic icons and fonts.
  2. Browser color is based on background and elements of web page visited.
  3. It is a freeware but not Opensource. To understand it you may assume free as in beer and not in speech.
  4. Quick Commands : For those who prefer keyboard as input over other input devices, this feature lets user to search through various settings, tabs, bookmarks and history with a keyboard shortcut. This feature aims at allowing users to create their custom commands and run them as and when required.
  5. Notes : This feature allows user to take notes while browsing and add screenshots. The notes will keep track of the website you were browsing while taking notes. Moreover you can add tags to the notes and organize so that it can be find later.
  6. Speed Dials : A graphical blocks of favorite sites grouped together so that you can access them from a single window. The most powerful fact of this feature is you can add a folder to speed dial as well.
  7. Tab Stacks : Group multiple tabs together using tab stack so that when an end user is working with too many unorganized tabs, things are not messy. This feature makes it possible to group multiple tabs into single thus organizing your work.
  8. Built on Web Technologies : The building blocks of Vivaldi is unique in the sense that it is developed using web for web. The building blocks viz., Node.js – to browse, HTML5, JavaScript and ReactJS for user interface is enough to tell that the website is promising.
  9. Higher level of customization : User can disable tab stacking, place tab bar at top/bottom left/right and change tab cycling order.
  10. Site info : This feature provides you with the details of cookies and site data as well as let you view connection information, a security measure implementation.

Sunday, March 8, 2015

OLTP Vs. OLAP

Online Transaction Processing

OLTP System deals with operational data. Operational data are those data  involved in the operation of a particular system.

Example: In a banking System, you withdraw amount from your account. Then Account Number, Withdrawal amount, Available Amount, Balance Amount, Transaction Number etc are operational data elementions.

    Operational Data
    Operational data are usually of local relevance
    Frequent Updates
    Normalized Tables
    Point Query

In an OLTP system data are frequently updated  and queried. So quick response to a request is highly expected. Since the OLTP systems invlove large number of update quiries, the database tables are optimized for write operations.

To prevent data redundancy and to prevent update anomalies the database tables are normalized.Set of tables that are normalized are fragmented.Normalization makes the write operation in the database tables more efficient.

Operational data are usually of local relevance.It involves Queries accessing individual tuple(individual record).These type of queries are termed as point queries.

Example :Bank account transaction

Online Analytical Processing (OLAP)

OLAP deals with Historical Data or Archival Data. Historical data are those data that are archived over a long period of time. Data from  OLTP are collected over a period of time and store it in a very large database called Data warehouse. The Data warehouses are highly optimized for read (SELECT) operation.

Example: If we collect last 10 years data about flight reservation, The data can give us many meaningful information such as the trends in reservation. This may give useful information like peak time of travel, what kinds of people are traveling in various classes (Economy/Business)etc.

Analytical Query: Online Analytical Processing (OLAP) quries are of  analytical form. Query need to access large amount of data and require huge number of aggregations. It access large number of records from database tables and perform the required operation based on this.

    Historical Data or Archival Data
    Infrequent updates
    Analytical queries require huge number of aggregations
    Integrated data set with a global relevance

Updates are very rare in a Data warehouse.OLAP quiries will give aggregated information about the things happend in the past over a period of time and this will help the management in strategic decision making. Hence OLAP Queries are of  having  significant importance in strategic decision making.

Example: profit changing over the years across different regions

 

Sunday, February 1, 2015

Scanny Portable wi-fi Scanner

Shaped light a super-thick ruler, you can just hover this portable scanner to the stuffs that you want to scan, push a buttons, do the usual left-right motion to capture the objects. Plug and Play is a very important and unique function of the scanner as we are currently not use to any non driver based Scanners.

"3 Nos of Scanny"

1. No Computer or Laptop required while scanning;
a. just glide this scanner on the page and see the magic

2. No External Power Required
a. AA batteries inside the scanner to power the scanner

3. NO Drivers in the computer to view the scan
a. Acts like a USB drive

"3 Yes of Scanny"
1. Images can be directly transferred to the Mobiles
This application is used by Banks , Telecom companies , etc for field scanning

2. Scans a page in 3 sec
Just Glide the scanner on the page and connect to computer.

3. Scans upto 4 feet of document
Large Posters can be scanned twice and then stitched together

Features:

-Very compact and elegant design

  -No Computer of laptop required while scanning

  -Plug and Play: No drivers required

  -o external Power required; support AA batteries

-OCR Software coupled: You can edit the documents after scanning

- Upgradable upto 32GB

Saturday, January 31, 2015

6 highest-paid executives at Apple

Tim Cook, CEO

Apple Inc CEO Tim Cook made $9,222,638 in 2014, 
more than double what he pulled in the year before. None of Cook's stock vested this year, but in 2011 he was awarded about $376 million in restricted stock units that will turn into shares he can sell over the next decade.


 
Luca Maestri, SVP and CFO

Luca Maestri joined Apple in 2013 and was promoted to CFO last year. He made over $14 million in 2014. 
His pay from 2012 and 2013 is omitted because he 
wasn't an executive officer then.


 
Peter Oppenheimer, former CFO

Peter Oppenheimer was Apple's CFO before announcing he would retire last March. Luca Maestri assumed Oppenheimer's role last year. Oppenheimer made $4.5 million last year, a paltry sum compared to the nearly $68.6 million he pulled in in 2012.


 Angela Ahrendts, SVP of retail and online stores

Angela Ahrendts made $73.3 million in 2014, most of it in Apple stock. Apple said Ahrendts' stock package was based on her high salary and unvested equity at Burberry, where she was CEO before coming to Apple last May. 
Her pay from 2012 and 2013 is omitted because she wasn't working for Apple then.




Eddy Cue, SVP of Internet Software and Services

Eddy Cue pulled in a neat $24.4 million in 2014, most of it from a $20 million stock award. Cue didn't have any stock awards in 
2013 but was given $50 million in Apple shares in 2012.



Jeff Williams, SVP of Operations

Jeff Williams is Tim Cook's right-hand man at Apple. Williams also received a $20 million stock award last year, bringing his total pay to around $24.4 million.