• Search form is empty!

  • Showing posts with label Visual Studio. Show all posts
    Showing posts with label Visual Studio. Show all posts

    http://robertdunaway.github.io

    http://mashupjs.github.io


    The Mashup is a learning tool that also serves as a bootstrap project for line-of-business applications.

    Modern Web Tooling VS2015

    Here are a few tools you’ll be seeing a lot of.

    NUGET

    Package manager for server side code in Visual Studio.

    BOWER

    Package manager for Modern Web client libraries.
    NOTE: Visual Studio 2015 projects install with a basic Bower setup.

    NPM

    Node Package Manager – Client side development tools

    NOTE: Visual Studio 2015 installs with a version of NODEJS (can be reconfigured for IOJS). NPM is the package manager that comes with NODEJS. Get used to seeing this because it’s an integral part of VS2015.

    GRUNT

    Task runner for client side development. Configuration based.

    GULP

    Task runner for client side development. Programming based.

    PROJECT.JSON & CONFIG.JSON

    These are the new configuration files used by VS2015. The project.csproj file is no more.


    This is a huge improvement. Contention with the project file and source control on development teams is gone. No more will you add a file to your project and check it in only to learn your other developers don’t see the file as part of the project.


    A little reading on this.
    https://github.com/aspnet/Home/wiki/Project.json-file


    VS2015 Modern Web Tools
    http://channel9.msdn.com/Events/Visual-Studio/Connect-event-2014/813

    GLOBS

    Globs are a syntax for identifying files. The base assumption is all files are included and the GLOB identifies files to exclude. Or something like that.


    http://gruntjs.com/configuring-tasks#globbing-patterns


    If you do any work in GitHub, and all the cool kids are, then you’ve seen gitignore. http://git-scm.com/docs/gitignore This is how you keep from committing source control sins like checking in files that are generated by our code.


    Visual Studio uses Glob in it’s project.json and config.json files.


    Grunt uses Glob in it’s GruntConfig.json file.


    Gulp use Glob for it’s gruntconfig.json file.


    These are what I’ve run into but Glog is becoming and industry standard for identifying and excluding files from “a thing”.

    http://robertdunaway.github.io

    http://mashupjs.github.io
    The Mashup is a learning tool that also serves as a bootstrap project for line-of-business applications.
    Please commend tools/tips…

    Tools

    Tools used in the development workflow of the MahsupJS.

    Update Versions
    Periodically check for the latest version of dev tools and libraries.

    Dev Tools

    Visual Studio .NET 2013

    Check for latest update - update 4

    Web Essentials

    http://vswebessentials.com

    Latest update for VS.NET Update 4

    dropbox

    Productivity Power Tools

    Microsoft’s link

    dropbox

    Resharper

    https://www.jetbrains.com/resharper/

    dropbox

    Version 9.0 update 1

    TortoiseSVN

    Is the subversion client. I’m using subversion to access GitHub.

    http://tortoisesvn.net/

    Version 1.8.10.26129-x64-svn-1.8.11

    dropbox

    VisualSVN

    Visual Studio integration with TortoiseSVN.

    https://www.visualsvn.com/

    Version ‘4.0.11’

    dropbox

    NodeJS

    http://nodejs.org/

    npm cache clean -f 
    
    npm install -g n 
    
    n stable
     
    Updating NodeJS

    Utilities

    LPE.exe (Long Path Eraser)

    Removes long file/dir names node_modules creates a lot of directories and exceeds windows ability to deal with them.

    I cannot find the original source or author on this. I’d like to find another utility that works as well but with a more well known source.

    http://long-path-eraser-free.en.softonic.com/
     
    http://www.softpedia.com/get/System/System-Miscellaneous/Long-Path-Eraser-Free.shtml

    dropbox

    Dropbox

    Using Dropbox to bundle development tools for the team.

    dropbox - Client Install

    Libraries

    Grunt

    Task manager

    http://gruntjs.com/getting-started
     
    http://gruntjs.com/installing-grunt

    Upgrading Grunt

    Before switching to the latest version of Grunt, be sure to uninstall the old one if you installed it globally. Then reinstall grunt with the command above.

    npm uninstall -g grunt
    
    
    npm install -g grunt-cli
    

    Gulp

    Task manager
    https://www.npmjs.com/package/gulp

    Install
    https://www.npmjs.com/package/gulp-install

    npm install --save gulp-install
    

    npm_modules

    Go through each npm_modules and look for updated releases.

    Libraries
    Angular
    Angular-UI
    Bootstrap
    Font-Awesome
    jQuery
    jQWidgest or Kendo ?
    lodash
    modernizr 2.6.2 ( doesn’t change much )
    ocLazyLoad.js ( not sure how long this will last. new angular router should replace )
    ydn ( this should go away at some point. needs refactored out )

    NuGet

    Keep NuGet updated.

    Check all NuGet packages for updates.

    Databases

    These might not be tools you need but if you plan to leverage SQL Server files in ASP.NET for development purposes then you’ll need these.

    SQLExpress2014

    Enable the use of the SQL Server file within a WebApi
    http://www.microsoft.com/en-us/download/details.aspx?id=42299

    SQLManagementStudio

    Visual management tools for SQL Server
    http://www.microsoft.com/en-us/download/details.aspx?id=35579

    IndexedDb

    No installation required
    https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API

    DevOps

    Team City

    This isn’t integrated yet but I’m looking for a build system to adopt.
    https://www.jetbrains.com/teamcity/

    Chef

    https://www.chef.io/solutions/devops/
    “Error Creating Control” at Design Time

    This looks like a problem Microsoft might fix in VS2010 SP1.

    The problem is the designer is trying to access code that might not be available at design time like Session state.

    Here is an example of what might cause such a problem:

    protected override void OnInit(EventArgs e)
    {
         base.OnInit(e);
         this.wucGrade1.Cancel += new EventHandler(wucGrade_Cancel);
         this.wucGrade1.Ok += new EventHandler(wucGrade_Ok);
    }


    The solution is to check for the availability of Context and Context.Session before code is executed. 

    The designer will pass over the following code and your controls will render.

    protected override void OnInit(EventArgs e)
    {
         base.OnInit(e);
         if (Context != null && Context.Session != null)
         {

             this.wucGrade1.Cancel += new EventHandler(wucGrade_Cancel);
             this.wucGrade1.Ok += new EventHandler(wucGrade_Ok);
         }
    }


    I found this at:

    My Book (The Book of Visual Studio .NET)

    This is like the biggest accomplishment I had in the last several years and I have never said one word about it in a blog.  So here you go.  The book good 18 months to write.  When I was writing the book I was prototyping the software.  No other books were released so it was a real trial and error experience.
    Now it is already out of date!!!!


    Here is the book and some information about it:

    Book Description
    The Book of Visual Studio .NET surveys each .NET server and related technologies, with a focus on Visual Studio 7 (VS7). Hands-on examples cover building forms, data retrieval, moving to COM , and implementing web services. Other key issues and solutions include upgrading from Visual Basic, source control services, and remoting.

    Book Info
    Comprehensive guide to developing Internet applications with Visual Studio.NET. Hands-on examples cover building forms, data retrieval, moving to COM , and implementing web services. Other key issues and solutions include upgrading from Visual Basic, source control services, and remoting. Softcover.
     
    Introducing .NET
    When designing the contents, format, and general layout of this book, the challenges that developers face when implementing Microsoft .NET technologies were considered. The .NET initiative offers both a new set of technologies and a new paradigm for development, because it is not only a development environment but also an entire suite of servers and services that work together to deliver solutions to solve today's business problems. The book could have perhaps more easily addressed a single vertical portion of the .NET suite of technologies, but then how would you know how or where that portion fits into .NET model, and how could you take advantage of other services that are provided by the vast set of .NET technologies? The truth is that you probably could not.
    One book simply cannot adequately cover all of the technologies that are required to deliver a complete .NET solution. .NET encompasses several new technologies, including new versions and enhancements of nearly every current technology. These products include SQL Server, Windows XP, .NET Enterprise Server, and the inclusion of industry-standard technologies such as XML and SOAP.
    This book provides you with a solid understanding of Visual Studio .NET and of how to use it to implement a variety of .NET solutions (a considerable challenge, given the number of technologies that make up the .NET framework). You'll focus mainly on Visual Studio 7/.NET, while still getting overview of several .NET-related technologies. In fact, you'll get quite a bit more than a simple overview of Visual Studio .NET and related technologies; you'll learn exactly where each technology fits into the big picture of .NET, and you'll run sample code that demonstrates your ability to take advantage of that technology today! Good luck and enjoy.
    Level of Expertise
    The Book of Visual Studio .NET assumes that you are familiar with Windows-based programming, object-oriented programming, Windows 2000 Advanced Server, Windows XP, or .NET Enterprise Server. It will also be helpful for you to understand SQL Server, COM and COM because they are required to build a scalable and reliable Windows DNA application. Knowing these technologies will make the transition to the .NET Framework easier for you to handle. While the book assumes this knowledge, it will discuss much of this technology throughout because of the way .NET integrates it to build business solutions. If you are lacking in any one of these areas, do not fear; you won't be by the time you finish this book.
    Note
    While many of the examples are written in Visual Basic (VB), and the book has included a chapter on Visual Basic .NET, don't expect to learn Visual Basic .NET here. If you already know Visual Basic, you will be better able to take advantage of these code examples. If not, you will get an introduction to areas of Visual Basic .NET that you will need to explore in a book that is geared more toward learning the Visual Basic .NET language.
    Who Should Read This Book?
    This book is only a starting point for understanding the .NET suite of technologies, which is essential for any successful .NET delivery. Once you are finished with this book, you will be able to relate whatever you are doing to some portion of the .NET framework.
    The Book of Visual Studio .NET is for intermediate and advanced developers who want to build scalable, reliable, flexible, and manageable systems using Visual Studio .NET. If you are a developer, an architect, or a manager of a software development team, this book is for you. After you are finished with this book, you will be able to relate whatever you are doing to some portion of the .NET framework.
    You will also find this book helpful if you aspire to become a software architect with an understanding of how the pieces fit together to form a business solution.
    Finally, while every development manager does not need to understand the details of COM /Enterprise Services, ASP .NET, ADO .NET, or SOAP/Web Services, an understanding of the issues that are involved in integrating multiple .NET technologies will enable you to better lead your team You will be better prepared to deal with the complexities of the next wave of software development for both the Internet and the desktop.
    Goals of This Book
    This book does not take an exhaustive look at any one language or technology. While you will gain new insights into these technologies, you will not learn the technologies themselves.
    You will, however, learn to use Visual Studio .NET to implement a variety of .NET technologies as we take an exhaustive look at the .NET Framework. The book covers many new and updated .NET tools (with tutorial-like examples of how to use them). As you learn, you will see that the process of building compiled components has significantly changed compared to how classic COM has been implemented (and is covered in great detail). The book also discusses how languages have been enhanced and DLLs changed. Finally, the book examines a variety of nuances introduced by .NET and Visual Studio .NET.
    By the end of this book, you should have a firm grasp on what this new world of .NET development technology is all about. You will be able to answer the question, "What is .NET?" with confidence, and communicate the benefits of .NET. But more importantly, you will be able to use all of the .NET tools and implement other .NET technologies by using Visual Studio .NET.