November 27, 2014

Understand horrible database

I never got fresh database.it's my bad luck so I always deal with old database which are created by someone who already left the company.Due to this situation,I have wasted so much time while developing or finding bug.Today I got some tips on Google. Hopefully It will help me in future.

1) Create E-R diagram

2) Examine each table and column make sure the meaning of what it stores.

3) Examine each relationship and make sure how the tables relate to one another

or

1) Understand the project flow from front end code or any document

2) find master table and it's transaction table whose having same column ID name


First I look up for the "Master Table", then, with pen and paper, I start mapping the relations with other tables, after that, if there's some app code to look at I start making some raw sketches on how the data flows.See if the option of a Knowledge Transfer session is available to you, and if so, take full advantage of it.


--Find multiple table by using column name

SELECT * FROM ALL_TAB_COLUMNS 
 WHERE COLUMN_NAME LIKE '%TASK%' 
 AND owner = 'database_name';


--Find Column named like 'blah' in a specific table 

SELECT O.NAME, O.ID, C.NAME, O.XTYPE 
FROM SYSOBJECTS O LEFT JOIN SYSCOLUMNS C ON O.ID=C.ID 
WHERE C.NAME LIKE '%SearchFor%' 
AND O.XTYPE IN ('U','V') 
AND O.Name like '%TableName%' ORDER by O.Name


--Find all Columns in DB with name like 'blah' 

 SELECT O.NAME, O.ID, C.NAME, O.XTYPE 
FROM SYSOBJECTS O LEFT JOIN SYSCOLUMNS C ON O.ID=C.ID 
WHERE C.NAME LIKE '%SearchFor%' 
AND O.XTYPE IN ('U','V') ORDER by O.Name


select a.table_name, column_name,DATA_TYPE,DATA_LENGTH 
from all_tab_columns a,USER_ALL_TABLES u
where a.TABLE_NAME=u.TABLE_NAME
and column_name like ‘empid%’  order by DATA_LENGTH desc;

yes we can do a similar search in all views. Here is your query. 
Hope this helps you.. Let me know.


select a.table_name, column_name,DATA_TYPE,DATA_LENGTH 
from all_tab_columns a,ALL_CATALOG u
where a.TABLE_NAME=u.TABLE_NAME
and column_name like upper(‘latitude%’)
and u.table_type=’VIEW’
and u.owner=’YOUR_OWNER’
order by DATA_LENGTH desc;


Find child Table

SELECT table_name FROM ALL_CONSTRAINTS WHERE constraint_type = 'R' -- "Referential integrity" AND r_constraint_name IN ( SELECT constraint_name FROM ALL_CONSTRAINTS WHERE table_name = '[TableName]' AND constraint_type IN ('U', 'P') -- "Unique" or "Primary key" )


select table_name, constraint_name, status, owner from all_constraints where r_owner = :r_owner and constraint_type = 'R' and r_constraint_name in ( select constraint_name from all_constraints where constraint_type in ('P', 'U') and table_name = :r_table_name and owner = :r_owner ) order by table_name, constraint_name

November 3, 2014

NIce link for software development


SQL

ASP.Net MVC Life Cycle


MVC Application Lifecycle - CodeProject

A Beginner's Tutorial for Understanding Filters and Attributes in ASP.NET MVC - CodeProject

Differences and Similiarities Of Html.RenderAction and Html.Action Method

RenderPartial vs RenderAction vs Partial vs Action in MVC Razor

Partial Classes in C# With Real Example - CodeProject

Areas in ASP.NET MVC 4 - CodeProject

What Are Areas in ASP.Net MVC - Part 6

MVC Data Annotations for Model Validation

MVC Areas with example

Asp.net MVC Request Life Cycle

Exception or Error Handling and Logging in MVC4

ASP.NET MVC – What Are the Uses of DataType and DisplayColumn Attributes? - CodeProject

Layouts, RenderBody, RenderSection and RenderPage in ASP.NET MVC

Custom Authentication and Authorization in ASP.NET MVC

Understanding ASP.NET MVC Scaffolding

Understanding HTML Helpers in ASP.NET MVC

Understanding ASP.NET MVC Filters and Attributes

How to pass javascript complex object to ASP.NET Web Api and MVC

What is the difference between each version of MVC 2, 3, 4, 5 and 6? (MVC Interview Questions)

ASP.NET MVC3 Vs MVC4 Vs MVC5 Vs MVC6 - Web Development Tutorial

Exception Handling in MVC - CodeProject

C#.net

Basic Object Oriented Programming (OOP) Concepts


c# - What is Shadowing? - Stack Overflow
Virtual vs Override vs New Keyword in C# - CodeProject
IEnumerable VS IQueryable
Difference between ref and out parameters
Differences between Object, Var and Dynamic type
Jump statements in C#
Difference Between Constant and ReadOnly and Static
Understanding Boxing and Unboxing in C#
A Deep Dive into C# Abstract Class
Understanding Delegates in C#
A Deep Dive into C# Interface
Introduction to Entity Framework
Implementation of Dependency Injection Pattern in C#
Introduction to Ado.net
Understanding LINQ Standard Query Operators
Understanding Single, SingleOrDefault, First and FirstOrDefault
Different ways to write LINQ query
Difference between Select and SelectMany in LINQ
Difference Between Finalize and Dispose Method
.Net Garbage Collection in depth
Enums and Structs in C# - CodeProject
Partial Class, Interface or Struct in C Sharp with example
ViewData vs ViewBag vs TempData vs Session
What are Access Modifiers in C#?
Understanding Relationship Between CTS and CLS
What is IL code, CLR, CTS, CLS & JIT? - CodeProject
what is access modifier in c# - ASP.NET,C#.NET,MVC,JQuery,JavaScript,SQL Server,WCF examples
Constructor in C Sharp
C# Heap(ing) Vs Stack(ing) in .NET: Part I
Structs - The complete C# Tutorial
What are sealed classes and sealed methods
Implementation of Dependency Injection Pattern in C#
Understanding Inversion of Control, Dependency Injection and Service Locator
Access Specifier or Modifier in C# | MY.NET Tutorials
C# Hashtable Examples
C# - Hashtable Class
Difference between Generics and Collections with example
C# - Difference between Array and Arraylist in C# with Example - ASP.NET,C#.NET,VB.NET,JQuery,JavaScript,Gridview,SQL Server,Ajax,SSRS, XML examples
Difference between Deferred execution and Immediate execution
Differences Between Hashtable and Dictionary
How to Use Take/TakeWhile and Skip/SkipWhile in LINQ
C#/.NET interview Question - What are the different types of collections in .NET ... - DotNetFunda.com
Understanding 4 Types of AJAX Frameworks | Elance Blog
design patterns - What is dependency injection? - Stack Overflow
StringBuilder C#
C# - Difference between String and Stringbuilder in C#, Asp.net - ASP.NET,C#.NET,VB.NET,JQuery,JavaScript,Gridview,SQL Server,Ajax,SSRS, XML examples
Singleton VS. Static Classes
Asynchronous Programming in C# 5.0 Part 1: Understand Async and Await
Parallel Programming in .NET Framework 4: Getting Started | C# Frequently Asked Questions
Async and Await
Constructors and Its Types in C# With Examples

OOPS

ASP.Net

Secure web hosting

AngularJS

Major s/w implementation

SecureFTP

File uploaders

Google API useful

Admin console


Google APIs Console
Blog.CoenGoedegebure.nl: Accessing Google Drive from .NET
An internal error occurred loading p12 certificate
Google Drive SDK — Google Developers
Google APIs Console
Drive API Client Library for .NET - Google APIs Client Library for .NET — Google Developers
OAuth 2.0 for web applications - AdSense Management API — Google Developers
OAuth2 flows - API Documentation
Google Drive SDK — Google Developers
Implementing OAuth 2.0 Authentication - YouTube — Google Developers
Using OAuth 2.0 to Access Google APIs - Google Accounts Authentication and Authorization — Google Developers
code-e: .NET, OAuth2, and the Google Analytics Service account.
OAuth 2 Simplified - Aaron Parecki
Google Apps Platform — Google Developers
Google Drive SDK — Google Developers
asp.net - Google Drive API .Net Issues - Stack Overflow
Google Drive API v2 | Daimto
Google Drive SDK — Google Developers
Google Drive SDK — Google Developers
Google Drive SDK — Google Developers
Google Talk Developer Documentation - Google Talk for Developers — Google Developers
[Solved] How to read mail from Gmail using C#.net - CodeProject
C# - Retrieve Email from Gmail Account, fetch email from gmail , how to access gmail inbox, get mail from inbox of gmail in c#
Google Apps Application APIs - Google Apps Platform — Google Developers
Read Gmail Inbox Message in ASP.NET - CodeProject
5 things you didn't know you could do with the Google Drive API - Google Apps Developer Blog
Retrieve Email and Parse Email in C# - Tutorial
Accessing Google Spreadsheets with C# using Google Data API - Stack Overflow
Gmail functionality send , delete , read , unread , archive in c#.net : The Official Forums for Microsoft ASP.NET
.NET Client Library Developer's Guide - Google Data APIs — Google Developers
https://developers.google.com

SMS sending

Email verification

News API

File listing

Hacking

Utility

ColorPicker.com - Quick Online Color Picker Tool


Regular Expression Cheat Sheet (.NET Framework)
RegExr
GIF Categories - Giphy
Free Online YouTube Downloader: Download YouTube Videos, Facebook and many others!
Convert JPG to PDF for free - JPG to PDF online converter
Icon Archive - Search 502,564 free icons, desktop icons, download icons, social icons, xp icons, vista icons
Poor SQL - Instant Free and Open-Source T-SQL Formatting
IP Lookup - IP Locator, IP Location, IP Address Lookup, IP Finder, Reverse DNS, Nameservers
Hex-to-RGB Color Converter
Removal of pdf pages online
Online Image to Icon Converter
.NET Regex Tester - Regex Storm
CSS3 Generator
Catch online videos with Catchvideo.net and convert them to MP3 from Youtube, Dailymotion, Vimeo videos for free
Striket̶h̶r̶o̶u̶g̶h̶ text for Facebook & Twitter
TinEye Reverse Image Search
The easiest way to learn electronics and Arduino programming | 123D Circuits by Autodesk
Iconmaker
loading.io - Your SVG + GIF Ajax Loading Icons
33,200 Free Icons - The Largest Icon Pack Ever

Programming Tips

June 28, 2014

Debugging & Testing Tool

There are multiple tools available for debugging & testing the application.Some of them are listed below with description...

Basic and simple tools

SoupUI-Use for testing web service 

Internet browser Tool
Google Chrome tool
Firebug and Web Developer
Fiddler -Used to check network performance

These tools are useful to do following things
Debugging JavaScript-
  1. Compilation Error:We can find syntax error
  2. Viewing Scripts
  3. Searching scripts
  4. Breakpoint & debugging the code
  5. change the value at runtime by watches & values
  6. console window-Debugging the particular error at runtime and write a some code
  7. Profiling Scripts-Check the performance of javascript or any other code.
Debugging CSS
  1. The CSS View
  2. Discovering Styles & modifying style at runtime
  3. Adding rules
  4. Copy the change code and update it in source code
Network Debugging
  1. Viewing result
  2. Status code
  3. Browser cache
  4. Debugging API call
  5. Performance check


January 8, 2014

Latest version and History

http://www.webdevelopmenthelp.net/2014/02/asp-net-mvc3-vs-mvc4-vs-mvc5.html
List of MVC version

Release history
DateVersion
10 December 2007ASP.NET MVC CTP
13 March 2009ASP.NET MVC 1.0[9]
16 December 2009ASP.NET MVC 2 RC[10]
4 February 2010ASP.NET MVC 2 RC 2[11]
10 March 2010ASP.NET MVC 2[12]
6 October 2010ASP.NET MVC 3 Beta[13]
9 November 2010ASP.NET MVC 3 RC[13]
10 December 2010ASP.NET MVC 3 RC 2[14]
13 January 2011ASP.NET MVC 3[15]
20 September 2011ASP.NET MVC 4 Developer Preview[16]
15 February 2012ASP.NET MVC 4 Beta[17]
31 May 2012ASP.NET MVC 4 RC[18]
15 August 2012ASP.NET MVC 4[19]
30 May 2013ASP.NET MVC 4 4.0.30506.0 [20]
26 June 2013ASP.NET MVC 5 Preview [21]
23 August 2013ASP.NET MVC 5 RC 1[22]
17 October 2013ASP.NET MVC 5[22]
17 January 2014ASP.NET MVC 5.1[22]
10 February 2014ASP.NET MVC 5.1.1[22]
4 April 2014ASP.NET MVC 5.1.2[22]
22 June 2014ASP.NET MVC 5.1.3[22]
1 July 2014ASP.NET MVC 5.2.0[22]
28 August 2014ASP.NET MVC 5.2.2[22]
9 February 2015ASP.NET MVC 5.2.3[22]
7 November 2015ASP.NET MVC 6.0.0-beta1[23]
18 November 2015ASP.NET MVC 6.0.0-rc1[23]


webmatrix
3.0

microsoft Biztalk server
  • 2000 - BizTalk Server 2000
  • 2002 - BizTalk Server 2002
  • 2004 - BizTalk Server 2004 (First version to run on Microsoft .NET 1.0)
  • 2006 - BizTalk Server 2006 (First version to run on Microsoft .NET 2.0)
  • 2007 - BizTalk Server 2006 R2 (First version to utilize the new Windows Communication Foundation (WCF) via native adapter - (Release date 2 October 2007))
  • 2009 - BizTalk Server 2009 (First version to work with Visual Studio 2008)
  • 2010 - BizTalk Server 2010[6] (First version to work with Visual Studio 2010 and Microsoft .NET 4.0)
  • 2013 - BizTalk 2013 (First version to work with Visual Studio 2012 and Microsoft .NET 4.5)[7]
  • 2014 - BizTalk 2013 R2 (First version to work with Visual Studio 2013 and Microsoft .NET 4.5.1)

HTML--->HTML5
CSS--->CSS3
Javascript
JQuery
JQueryMobile
AngularJS
AJAX
JSON
html DOM

c# version
6
vb version
7
7.1
8
9
10
11
14
----------------------------------
Overview of .NET Framework release history[15]
Version
number
CLR
version
Release
date
Included inReplaces
Development toolWindowsWindows Server
1.01.02002-02-13Visual Studio .NET[16]N/AN/AN/A
1.11.12003-04-24Visual Studio .NET 2003[16]N/A20031.0[17]
2.02.02005-11-07Visual Studio 2005[18]N/A20032003 R2,[19] 2008 SP22008 R2 SP1N/A
3.02.02006-11-06Expression Blend[20][a]Vista2008 SP22008 R2 SP12.0[15]
3.52.02007-11-19Visual Studio 2008[21]78,[b] 8.1[b]2008 R2 SP12.0, 3.0[15]
4.042010-04-12Visual Studio 2010[22]N/AN/AN/A
4.542012-08-15Visual Studio 2012[23]820124.0[15]
4.5.142013-10-17Visual Studio 2013[24]8.12012 R24.0, 4.5
4.5.242014-05-05N/AN/AN/A4.0, 4.5, 4.5.1

VersionRTM (no SP)SP1SP2SP3SP4SP5
SQL Server 201412.0.2000.812.0.4100.1
SQL Server 201211.0.2100.6011.0.3000.011.0.5058.0
SQL Server 2008 R210.50.1600.110.50.2500.0 / 10.51.2500.010.50.4000.0 / 10.52.4000.010.50.6000.34
SQL Server 200810.0.1600.2210.0.2531.010.0.4000.010.0.5500.010.0.6000.29
SQL Server 20059.0.1399.069.0.20479.0.30429.0.40359.0.5000
SQL Server 20008.0.1948.0.3848.0.5328.0.7608.0.2039
SQL Server 7.07.0.6237.0.6997.0.8427.0.9617.0.1063
SQL Server 6.56.50.2016.50.2136.50.2406.50.258 (SP3a)6.50.2816.50.416 (SP5a)
SQL Server 6.06.0.1216.0.1246.0.1396.0.151


Prior to Visual Studio
Product nameCodenameInternal
version
Supported .NET
Framework versions
Release date
Visual StudioN/A4.0N/AApril 1995
Visual Studio 97Boston5.0N/AFebruary 1997
Visual Studio 6.0Aspen6.0N/AJune 1998
Visual Studio .NET (2002)Rainier7.01.0February 13, 2002
Visual Studio .NET 2003Everett7.11.1April 24, 2003
Visual Studio 2005Whidbey8.02.0, 3.0November 7, 2005
Visual Studio 2008Orcas9.02.0, 3.0, 3.5November 19, 2007
Visual Studio 2010Dev10/Rosario10.02.0, 3.0, 3.5, 4.0April 12, 2010
Visual Studio 2012Dev1111.02.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2September 12, 2012
Visual Studio 2013Dev1212.02.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2October 17, 2013
Visual Studio 2015Dev1414.02.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6Summer / Autumn 2015


Servers
Windows 2000 Server (February 2000)

IIS


Version Obtained from Operating System
1 Included with Windows NT 3.51 SP 3 (or as a self-contained download). Windows NT Server 3.51
2 Included with Windows NT Server 4.0. Windows NT Server 4.0
3 Included with Windows NT Server 4.0 Service Pack 3 (Internet Information Server 2.0 is automatically upgraded to Internet Information Server 3.0 during the install of SP3). Windows NT Server 4.0
4 Self-contained download from www.microsoft.com or the Windows NT Option Pack compact disc. Windows NT Server 4.0 SP3 and Microsoft Internet Explorer 4.01
5 Built-in component of Windows 2000. Windows 2000
5.1 Built-in component of Windows XP Professional. Windows XP Professional
6 Built-in component of Windows Server 2003.
7 Built-in component of Windows Vista and Windows Server 2008. Windows Vista and WIndows Server 2008
7.5 Built-in component of Windows 7 and Windows Server 2008 R2. Windows 7 and Windows Server 2008 R2
8 Built-in component of Windows 8 and Windows Server 2012. Windows 8 and Windows Server 2012


ProductVendorApril 2014PercentMay 2014PercentChange
ApacheApache361,853,00337.74%366,262,34637.56%-0.18%
IISMicrosoft316,843,69533.04%325,854,05433.41%+0.37%
nginxNGINX, Inc.146,204,06715.25%142,426,53814.60%-0.64%
GWSGoogle20,983,3102.19%20,685,1652.12%-0.07%

Oracle version
Since version 2, Oracle's RDBMS release numbering has used the following codes:
  • Oracle v2 : 2.3
  • Oracle v3 : 3.1.3
  • Oracle v4 : 4.1.4.0-4.1.4.4
  • Oracle v5 : 5.0.22, 5.1.17, 5.1.22
  • Oracle v6 : 6.0.17-6.0.36 (no OPS code), 6.0.37 (with OPS)
  • Oracle7: 7.0.12–7.3.4
  • Oracle8 Database: 8.0.3–8.0.6
  • Oracle8i Database Release 1: 8.1.5.0–8.1.5.1
  • Oracle8i Database Release 2: 8.1.6.0–8.1.6.3
  • Oracle8i Database Release 3: 8.1.7.0–8.1.7.4
  • Oracle9i Database Release 1: 9.0.1.0–9.0.1.5 (Patchset as of December 2003)
  • Oracle9i Database Release 2: 9.2.0.1–9.2.0.8 (Patchset as of April 2007)
  • Oracle Database 10g Release 1: 10.1.0.2–10.1.0.5 (Patchset as of February 2006)
  • Oracle Database 10g Release 2: 10.2.0.1–10.2.0.5 (Patchset as of April 2010)
  • Oracle Database 11g Release 1: 11.1.0.6–11.1.0.7 (Patchset as of September 2008)
  • Oracle Database 11g Release 2: 11.2.0.1–11.2.0.4 (Patchset as of August 2013)
  • Oracle Database 12c Release 1: 12.1 (Patchset as of June 2013)
  • Oracle Database 12c Release 1: 12.1.0.2 (Patchset as of July 2014)

OS
Operating systemVersion number
Windows 10 Insider Preview10.0*
Windows Server Technical Preview10.0*
Windows 8.16.3*
Windows Server 2012 R26.3*
Windows 86.2
Windows Server 20126.2
Windows 76.1
Windows Server 2008 R26.1
Windows Server 20086.0
Windows Vista6.0
Windows Server 2003 R25.2
Windows Server 20035.2
Windows XP 64-Bit Edition5.2
Windows XP5.1
Windows 20005.0


object relational mapping
There are many ORM frameworks for .net in the market like DataObjects.Net, NHibernate, OpenAccess, SubSonic etc. ADO.NET Entity Framework is from Microsoft.

.NET






EntityFramework VersionIntroduced Features
EF 3.5Basic O/RM support with Database First approach.
EF 4.0POCO Support, Lazy loading, testability improvements, customizable code generation and the Model First approach.
EF 4.1First to available of NuGet package, Simplified DBContext API over ObjectContext, Code First approach. EF 4.1.1 patch released with bug fixing of 4.1.
EF 4.3Code First Migrations feature that allows a database created by Code First to be incrementally changed as your Code First model evolves. EF 4.3.1 patch released with bug fixing of EF 4.3.
EF 5.0 - Current releaseAnnounced EF as Open Source. Introduced Enum support, table-valued functions, spatial data types, multiple-diagrams per model, coloring of shapes on the design surface and batch import of stored procedures, EF Power Tools and various performance improvements.
EF 6.0 - Future releaseEF 6.0 is currently in pre-release state. It will include Task-based async, Stored Procedures & Functions in Code First and Custom Code First conventions.


jQuery

Version numberRelease dateLatest updateAdditional notes
1.0August 26, 2006First stable release
1.1January 14, 2007
1.2September 10, 2007
1.3January 14, 2009Sizzle Selector Engine introduced into core
1.4January 14, 2010
1.5January 31, 2011Deferred callback management, ajax module rewrite
1.6May 3, 2011Significant performance improvements to the attr() and val() functions
1.7November 3, 2011New Event APIs: .on() and .off(), while the old APIs are still supported.
1.8August 9, 2012Sizzle Selector Engine rewritten, improved animations and $(html, props) flexibility.
1.9January 15, 20131.9.1 (February 4, 2013)[25]Removal of deprecated interfaces and code cleanup
1.10May 24, 20131.10.2 (July 3, 2013)Incorporated bug fixes and differences reported from both the 1.9 and 2.0 beta cycles
1.11January 24, 20141.11.0 (January 24, 2014)
2.0April 18, 20132.0.3 (July 3, 2013)Dropped IE 6–8 support for performance improvements and reduction in filesize
2.1January 24, 20142.1.0 (January 24, 2014)