[{"data":1,"prerenderedAt":336},["ShallowReactive",2],{"article-net-releases-versions-in-2015":3},{"article":4,"tags":157,"previous":185,"next":277},{"id":5,"title":6,"author":7,"body":8,"createdAt":144,"description":145,"extension":146,"img":147,"meta":148,"navigation":149,"path":150,"seo":151,"stem":152,"tags":153,"updatedAt":144,"__hash__":156},"articles\u002Farticles\u002Fnet-releases-versions-in-2015.md",".NET Releases & Versions in 2015","[object Object]",{"type":9,"value":10,"toc":140},"minimark",[11,37,76,91,94,102,113,118,126],[12,13,14,15,18,19,23,24,27,28,31,33,36],"p",{},"In 2015 we will have new releases of .NET Framework, ASP.NET versions, Web Forms, MVC versions.  That is quite a bit to keep track of.  This should make it a little easier.  I am surprised that Microsoft has not made it more clear as to what is included in which version.  They recently starting calling this bundle .NET 2015 and as a bundle includes a number of sub-products.",[16,17],"br",{},"\nSo starting with the ",[20,21,22],"strong",{},".NET 2015 ","Bundle….it includes ",[20,25,26],{},".NET 4.6"," AND ",[20,29,30],{},".NET Core",[16,32],{},[20,34,35],{},".NET 4.6 and .NET Core ","includes..(.NET 4.6 is included with Visual Studio 2015)",[38,39,40,49,52,58,61,64,67,70,73],"ul",{},[41,42,43,48],"li",{},[44,45,47],"a",{"href":46},"http:\u002F\u002Fblogs.msdn.com\u002Fb\u002Fwebdev\u002Farchive\u002F2015\u002F02\u002F09\u002Fasp-net-mvc-5-2-3-web-pages-3-2-3-and-web-api-5-2-3-release.aspx","ASP.NET 4.6","  is an umbrella term used to describe updates to existing frameworks such as ASP.NET Web Forms\u002FMVC 5\u002FWeb Api 2.",[41,50,51],{},"ASP.NET Web Forms 46",[41,53,54,55],{},"ASP.NET MVC 5.2.3 – updates to MVC 5 found ",[44,56,57],{"href":46},"here",[41,59,60],{},"ASP.NET Web Pages 3.2.3",[41,62,63],{},"ASP.NET Web API 5.2.3",[41,65,66],{},"ASP.NET SignalR 2.1.2",[41,68,69],{},"ASP.NET 5.0 Beta 5 (vNext)  – a .NET platform for build cloud-based apps and can be hosted on IIS or self-hosted in a custom process.  It supports running on both the .NET Framework and .NET Core so by extension supports running on Windows, Linux, OS X etc.",[41,71,72],{},"MVC 6.0 - MVC, Web API, and Web Pages are unified into a single framework – this is a complete rewrite of MVC engine we use today, while we still have controllers, views and models under the hood MVC 6 is an improved and rewritten engine.  Web API is now fully integrated with MVC 6",[41,74,75],{},"C# 6, F# 4, VB 14",[12,77,78,79,83,85,88,90],{},"Note: .NET 4.6 is an in-place update to versions .NET 4, 4.5, 4.5.1, 4.5.2 > this means that after installation c:\\windows\\Microsoft.NET\\Framework(bitness)\\v4.0.30319 will be updated with the latest dlls, this is similar to how .NET 3.5 was an in-place update to .NET 2.0.  See also ",[44,80,82],{"href":81},"https:\u002F\u002Fmsdn.microsoft.com\u002Fen-us\u002Flibrary\u002Fbb822049(v=vs.110).aspx",".NET Framework Versions and Dependencies",[16,84],{},[20,86,87],{},"\nToday (August 2015) ",[16,89],{},"\nSO if you are building an application today you can open Visual Studio 2015 and create new project(s) – web project – selecting .NET 4.6 and ASP.NET 4.6 templates (empty, web forms, mvc, etc.).  However, if you wanting to try out new ASP.NET 5 preview templates those are available too (i.e. choose .NET 4.6 and ASP.NET 5 (Preview) templates such as empty, web api and web application)",[12,92,93],{},"Also if you have not installed .NET 4.6 on the server you would choose to create a new project you could select .NET 4.5.2 and respective ASP.NET 4.5.2 web templates (empty, web forms, mvc, etc.)",[12,95,96,97,99],{},"Note here that Microsoft released Visual Studio 2015 with updates to existing frameworks as well as preview releases of ASP.NET and Entity Framework 7.  So confusing.",[16,98],{},[20,100,101],{},"\nVisual Studio 2015 – Updates",[38,103,104,107,110],{},[41,105,106],{},"JSON Editor",[41,108,109],{},"HTML Editor Updates",[41,111,112],{},"JavaScript Editor Improvements",[12,114,115],{},[20,116,117],{},"Resources",[38,119,120],{},[41,121,122],{},[44,123,125],{"href":124},"http:\u002F\u002Fblogs.msdn.com\u002Fb\u002Fdotnet\u002Fp\u002Fdotnet_sdks.aspx?source=VS2013",".NET SDKs and Downloads",[12,127,128],{},[44,129,131],{"href":130},"\u002Farticles\u002Fimages\u002Fwindows-live-writer-f6d15fa95net-releases-versions-in-2015_11a94-version_4.png",[132,133],"img",{"style":134,"src":135,"border":136,"alt":137,"title":137,"width":138,"height":139},"background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-width: 0px;","\u002Farticles\u002Fimageswindows-live-writer-f6d15fa95net-releases-versions-in-2015_11a94-version_thumb_1.png",0,"version",240,143,{"title":141,"searchDepth":142,"depth":142,"links":143},"",2,[],"2015-06-16T16:09:46.7300000-04:00",null,"md","\u002Farticles\u002Fimages\u002Fwindows-live-writer-f6d15fa95net-releases-versions-in-2015_11a94-version_thumb_1.png",{},true,"\u002Farticles\u002Fnet-releases-versions-in-2015",{"title":6,"description":145},"articles\u002Fnet-releases-versions-in-2015",[154,155],"aspnet","netcore","RihqeLfTiAz21FdMOWIpdgYXNEmdlz_YWHgD_XX1Zf0",[158,172],{"id":159,"title":160,"body":161,"description":165,"extension":146,"img":166,"meta":167,"name":154,"navigation":149,"path":168,"seo":169,"stem":170,"__hash__":171},"tags\u002Ftags\u002Faspnet.md","Aspnet",{"type":9,"value":162,"toc":163},[],{"title":141,"searchDepth":142,"depth":142,"links":164},[],"ASP.NET is an open source web framework, created by Microsoft, for building modern web apps and services with .NET.","https:\u002F\u002Fimages.unsplash.com\u002Fphoto-1598313183973-4effcded8d5e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=675&q=80",{},"\u002Ftags\u002Faspnet",{"description":165},"tags\u002Faspnet","SlUGLdZWQy8mYOWC6OetgJkwVulWNURoVHeuESIDleI",{"id":173,"title":174,"body":175,"description":179,"extension":146,"img":166,"meta":180,"name":155,"navigation":149,"path":181,"seo":182,"stem":183,"__hash__":184},"tags\u002Ftags\u002Fnetcore.md","Netcore",{"type":9,"value":176,"toc":177},[],{"title":141,"searchDepth":142,"depth":142,"links":178},[],".NET Core is a new version of .NET Framework, which is a free, open-source, general-purpose development platform maintained by Microsoft. It is a cross-platform framework that runs on Windows, macOS, and Linux operating systems.",{},"\u002Ftags\u002Fnetcore",{"description":179},"tags\u002Fnetcore","D5BWCPpKVXJTUKU0TRuD3sWQ9rXtqETGkxzHAK__g5w",{"id":186,"title":187,"author":7,"body":188,"createdAt":268,"description":269,"extension":146,"img":264,"meta":270,"navigation":149,"path":271,"seo":272,"stem":273,"tags":274,"updatedAt":268,"__hash__":276},"articles\u002Farticles\u002Fvarchar-vs-nvarchar.md","Varchar vs NVarchar",{"type":9,"value":189,"toc":266},[190,207,216,238],[12,191,192,193,195,196,199,200,203,204,206],{},"So let’s talk about this to better understand some differences and benefits of using each of these data types.",[16,194],{},"\nNVarchar – the ‘N’ in varchar means u",[20,197,198],{},"N","icode",[20,201,202],{},".  ","The column can store any Unicode data.  The column is a varchar that supports two-byte\ncharacters.  The most common use for this sort of thing is to store character data that is a mixture of English and non-English symbols.",[16,205],{},"\nVarchar – is an abbreviation for variable-length character string. ",[12,208,209,210,212,215],{},"It’s a string of text characters that can be as large as the page size for the database table holding the column.  The size for a table page is 8,196 bytes, and no one\nrow in a table can be more than 8060 characters.  This in turn limits the maximum size of a varchar to 8000 bytes.",[16,211],{},[20,213,214],{},"So we used the term unicode data",".  What does this mean?  Computers store letters and other characters by assigning a number for each one. ",[12,217,218,219,222,223,225,228,229,231,234,235,237],{},"Before unicode was invented there were hundreds of different encoding systems for assigning these numbers. No single encoding could contain enough characters: for example,\nthe European Union alone requires several different encodings to cover all its languages. Even for a single language like English no single encoding was adequate for all the\nletters, punctuation, and technical symbols in common use. These encoding systems also conflict with another, for instance two encodings could use the same number for two\ndifferent characters. ",[20,220,221],{},"Unicode ","to the rescue.  Unicode provides a unique number for every character, no matter what the platform, no matter what the program,\nno matter what the language.  The unicode standard has widespread adoption across systems, platforms, languages etc.  It solves most of the encoding issues.",[16,224],{},[20,226,227],{},"The primary difference between these two column types is how they are stored.","  Varchar is stored as 8-bit data.  Nvarchar strings are stored in the\ndatabase as UTF-16, 16 bits or two bytes per character, and converted on output (typically UTF-8).  That said, Nvarchar strings have the same length restrictions as varchar\n8000 bytes.  Since Nvarchar use two bytes instead of one nvarchar can only hold 4000 characters maximum.",[16,230],{},[20,232,233],{},"What is UTF-8 and UTF-16?","   UTF stands for Unicode Transformation Format.  It is a family of standards for encoding the Unicode character set into\nits equivalent binary value.  UTF was developed so that users have a standardized means of encoding the characters with the minimal amount of space.UTF-8 and UTF 16 are\nonly two of the established standards for encoding.  The main advantage of UTF-8 is that it is backwards compatible with ASCII. The ASCII character set is fixed width and\nonly uses one byte.  When encoding a file that uses only ASCII characters with UTF-8, the resulting file would be identical to a file encoded with ASCII. This is not\npossible when using UTF-16 as each character would be two bytes long.",[16,236],{},"\nOkay, we have covered a few technical topics here. ",[12,239,240,241,244,245,248,249,251,252,255,256,258],{},"So in the end you can store more string data in a varchar than nvarchar fields, however if you are working with multiple cultures, languages etc.\nyou will ",[20,242,243],{},"NEED ","to store those character sets in fields that are of type ",[20,246,247],{},"NVARCHAR",".  Due to the widespread usage of web applications\naround the globe I believe you will rarely go wrong by selecting\u002Fusing nvarchar over varchar. If you are concerned about storage space you can use a combination of field\ntypes (using nvarchar for user-entered data and varchar for system generated) but this may just add complexity and one day just be a limitation\u002Fhurdle you will need to\novercome in the future when globalizing your application.",[16,250],{},"\nJust use ",[20,253,254],{},"nvarchar"," and you will be safe.",[16,257],{},[44,259,261],{"href":260},"\u002Farticles\u002Fimages\u002Fwindows-live-writer-varchar-vs-nvarchar_11973-choice2_4.png",[132,262],{"style":263,"src":264,"border":136,"alt":265,"title":265,"width":138,"height":139},"background-image: none; padding-top: 0px; padding-left: 0px; \ndisplay: inline; padding-right: 0px; border: 0px;","\u002Farticles\u002Fimages\u002Fwindows-live-writer-varchar-vs-nvarchar_11973-choice2_thumb_1.png","choice2",{"title":141,"searchDepth":142,"depth":142,"links":267},[],"2015-06-26T09:36:26.9300000-04:00","Let’s talk about this to better understand some differences and benefits of using each.",{},"\u002Farticles\u002Fvarchar-vs-nvarchar",{"title":187,"description":269},"articles\u002Fvarchar-vs-nvarchar",[275],"sqlserver","SXeJ9MvXofV764d8HuiIQXhx1ejjfpqsDzHGIdBnfls",{"id":278,"title":279,"author":7,"body":280,"createdAt":329,"description":145,"extension":146,"img":145,"meta":330,"navigation":149,"path":331,"seo":332,"stem":333,"tags":334,"updatedAt":329,"__hash__":335},"articles\u002Farticles\u002Fsql-templates-in-sql-server-management-studio.md","SQL Templates (in SQL Server Management Studio)",{"type":9,"value":281,"toc":327},[282,301,315],[12,283,284,285,290,291,295,296,298],{},"Credit goes to the ",[44,286,289],{"target":287,"href":288},"_blank","http:\u002F\u002Fcincysql.org\u002Fdefault.aspx","Cincinnati SQL Server User’s Group","\u002F",[44,292,294],{"target":287,"href":293},"http:\u002F\u002Fjapikse.blogspot.com","Phil Japikse"," for the following tip.  Two things of interest in this post.  Ability to create Sql Templates within SQL Server Management Studio and SQL to find objects named like ‘%here%’ across all objects in a database.",[16,297],{},[299,300],"em",{},[299,302,303,306,309,312],{},[12,304,305],{},"USE \u003Cdatabasename,string,@p1>",[12,307,308],{},"GO",[12,310,311],{},"SELECT OBJECT_NAME(OBJECT_ID)",[12,313,314],{},"FROM sys.sql_modules",[12,316,317,320,321,323,324,326],{},[299,318,319],{},"WHERE definition like '%\u003Cstring_to_find,string,@p2>%'"," ",[16,322],{},"\nNow that you have the SQL it is possible to create a SQL Template (View – SQL Templates) whereby you can simply select and push Ctrl-Shift-M for variable substitution.  Within the Template Window create a new folder to store your custom templates, create a new template, paste the above SQL and Save.  To use simply click on the template and Ctrl-Shift-M to be prompted for the variables and values.",[16,325],{},"\nGreat stuff.  Thanks guys for the tip.",{"title":141,"searchDepth":142,"depth":142,"links":328},[],"2015-04-20T08:07:20.1800000-04:00",{},"\u002Farticles\u002Fsql-templates-in-sql-server-management-studio",{"title":279,"description":145},"articles\u002Fsql-templates-in-sql-server-management-studio",[275],"xLkaxTvrpsg5-vSPzWpJsrPkpM6cQ_XYQ7P2nrTpJS8",1781574761674]