.Net & Web Develo...
Follow
Find
96.2K views | +4 today
 
Scooped by William delmas
onto .Net & Web Development
Scoop.it!

ScoopIt Api: Wrapper .NET

ScoopIt Api: Wrapper .NET | .Net & Web Development | Scoop.it

A basic .NET framework to access the Scoop.it API and a test project (ASP MVC3).

William delmas's insight:

Wrapper Java: https://github.com/vdemay/Scoopit-Java
Wrapper PHP: https://github.com/vdemay/Scoopit-PHP

more...
No comment yet.
.Net & Web Development
Some resources about Asp MVC which could help you on your projects!
Curated By William Delmas
Curated by William delmas
Your new post is loading...
Your new post is loading...
Scooped by William delmas
Scoop.it!

Algorithms, essential information tha every serious programme needs to know abou algorithms and data structures

Algorithms, essential information tha every serious programme needs to know abou algorithms and data structures | .Net & Web Development | Scoop.it

Textbook.

 The textbook Algorithms, 4th Edition by Robert Sedgewick and Kevin Wayne Amazon · Pearson ] surveys the most important algorithms and data structures in use today. We motivate each algorithm that we address by examining its impact on applications to science, engineering, and industry. The textbook is organized into six chapters:

  • Chapter 1: Fundamentals introduces a scientific and engineering basis for comparing algorithms and making predictions. It also includes our programming model.
  • Chapter 2: Sorting considers several classic sorting algorithms, including insertion sort, mergesort, and quicksort. It also includes a binary heap implementation of a priority queue.
  • Chapter 3: Searching describes several classic symbol table implementations, including binary search trees, red-black trees, and hash tables.
  • Chapter 4: Graphs surveys the most important graph processing problems, including depth-first search, breadth-first search, minimum spanning trees, and shortest paths.
  • Chapter 5: Strings investigates specialized algorithms for string processing, including radix sorting, substring search, tries, regular expressions, and data compression.
  • Chapter 6: Context highlights connections to systems programming, scientific computing, commercial applications, operations research, and intractability.
more...
No comment yet.
Rescooped by William delmas from JavaScript for Line of Business Applications
Scoop.it!

AngularJS for ASP.NET MVC Developers

Web Development: AngularJS for ASP.NET MVC Developers by Miguel A Castro

When using ASP.NET MVC, you need to to know how to set Angular up with regards to modules, controllers, and services. And the truth is that not the entire site needs to be one giant Single-Page-Application. I’ll show how to design an ASP.NET MVC site so that it includes pockets of SPA that use Angular, taking advantage of binding, routing, and even back-button support - all while remaining on the client.


Via Jan Hesse
more...
No comment yet.
Scooped by William delmas
Scoop.it!

ASP.NET 5 and AngularJS, Running on a Mac

ASP.NET 5 and AngularJS, Running on a Mac | .Net & Web Development | Scoop.it

This is the seventh part in a multiple part blog series on building ASP.NET 5 (ASP.NET vNext) apps with AngularJS. In this series of blog posts, I show how you can create a simple Movie app using ASP.NET 5, MVC 6, and AngularJS.

more...
No comment yet.
Rescooped by William delmas from JavaScript for Line of Business Applications
Scoop.it!

Getting Started with React.js in ASP.NET MVC

Getting Started with React.js in ASP.NET MVC | .Net & Web Development | Scoop.it

In this post we will learn how to Getting Started with React.js in ASP.NET MVC.

  • React top feature is SPEED.

ReactJS.NET makes it easier to use Facebook’s React and JSX from C# and other .NET languages, focusing specifically on ASP.NET MVC. It supports on-the-fly JSX to JavaScript compilation, also bundling and minification.



Via Jan Hesse
more...
No comment yet.
Scooped by William delmas
Scoop.it!

Top 10 Changes in ASP.NET 5 and MVC 6

Top 10 Changes in ASP.NET 5 and MVC 6 | .Net & Web Development | Scoop.it

I spent the last couple of weeks writing sample code for ASP.NET 5/MVC 6 and I was surprised by the depth of the changes in the current beta release of ASP.NET 5. ASP.NET 5 is the most significant new release of ASP.NET in the history of the ASP.NET framework — it has been rewritten from the ground up.

In this blog post, I list what I consider to be the top 10 most significant changes in ASP.NET 5. This is a highly opinionated list. If other changes strike you as more significant, please describe the change in a comment.

more...
No comment yet.
Scooped by William delmas
Scoop.it!

Token Based Authentication using ASP.NET Web API 2, Owin, and Identity

Token Based Authentication using ASP.NET Web API 2, Owin, and Identity | .Net & Web Development | Scoop.it

So I decided to compile mini tutorial of three five posts which covers and connects those topics. In this tutorial we’ll build SPA using AngularJS for the front-end, and ASP.NET Web API 2, Owin middleware, and ASP.NET Identity for the back-end.

more...
No comment yet.
Scooped by William delmas
Scoop.it!

Extending ASP.NET MVC Music Store with elasticsearch

Extending ASP.NET MVC Music Store with elasticsearch | .Net & Web Development | Scoop.it

elasticsearch exposes a great JSON based REST API. However, to interact with it easily from .NET we’ll use a client API. There are several such APIs for .NET, not to mention other languages. As I’m one of the co-founders ofTruffler, a SaaS solution for search and content retrieval based on elasticsearch I’d of course love to use the Truffler .NET API. But as one key point of that API is to make it even easier than it already is to interact with elasticsearch it isn’t a good fit for this post.

more...
No comment yet.
Rescooped by William delmas from JavaScript for Line of Business Applications
Scoop.it!

AngularJS & Kendo UI using Angular Kendo with ASP.NET MVC 5, Web API & OData

AngularJS & Kendo UI using Angular Kendo with ASP.NET MVC 5, Web API & OData | .Net & Web Development | Scoop.it

With AngularJS and ASP.NET MVC, we now have an MVC pattern and architecture for both on the client and server. What do we do and/or how do we approach this? Well one can argue we don’t use any of the MVC architecture on the server and build out a full-fledged AngularJS front-end application and only use make async calls to Web API for all things that absolutely need to be on the server e.g. CRUD, workflows, business logic, etc.

Now, there’s absolutely nothing wrong with this approach, and for the most part a lot of heavy front end SPA’s are built this way in ASP.NET MVC. However, with all the .NET, ASP.NET and AngularJS goodness, why not leverage the best of both worlds? Again, there’s absolutely nothing wrong with building a pure AngularJS application and only using Web API, but for this blog post we’ll go over patterns of using the best of both worlds along with integrating AngularJS with Kendo UI.


Via Jan Hesse
more...
No comment yet.
Scooped by William delmas
Scoop.it!

Planning Web Solutions Today: Web Forms, ASP.NET MVC, Web API, and OWIN.

Planning Web Solutions Today: Web Forms, ASP.NET MVC, Web API, and OWIN. | .Net & Web Development | Scoop.it

Gone are the days when a team could solve a business problem by simply building a set of interrelated Web pages. Most of the time, you don’t build plain Web sites anymore; you build articulated solutions that result from the combination of various artifacts, including a classic Web site full of HTML pages, a mobile front end for navigation over devices, maybe a push-notification endpoint for mobile apps that relates to the solution, and a distinct network for static content.

Each piece of the solution requires its own framework when not on its own platform. This causes a proliferation of frameworks and codenames that are confusing to everybody except a (very) small group of geeks.

In addition, sites like GitHub make it easy for everybody to contribute his own work to the community. Far from being a problem, it encourages everybody to write his own framework for doing the same things as others but in a slightly different way that the author and a few followers reckoned was better.

Now, if your work is on the cutting edge, and you are lucky enough to only work on brand-new projects from day one, and your buyers are open to any sort of technology or framework regardless of support (and lack thereof), availability of (and lack thereof) service-level agreements, open-source statements and similar, then you live in a perfect world. But otherwise, you may just happen to live in the neighborhood of hell and want to move elsewhere.

This article, like a real-estate leaflet, lists properties on sale without exaggerating value, benefits, and quality!


more...
No comment yet.
Scooped by William delmas
Scoop.it!

Build an HTML5 Offline Application with Application Cache, Web Storage and ASP.NET MVC

Build an HTML5 Offline Application with Application Cache, Web Storage and ASP.NET MVC | .Net & Web Development | Scoop.it
The modern web ecosystem is made up of many different types of scenarios of how users interact with online content. With the increasing popularity of mobile devices along with countless hours at Starbucks and on airplanes, users may often find themselves in a position of wanting to use web content while not being able to enjoy reliable and continual access to the Internet.

A website that is not configured to operate in a disconnected state is unavailable in any form if an Internet connection is not available. For instance, Figure 1demonstrates the type of response you may encounter while trying to view http://msn.com while working without an Internet connection.

more...
No comment yet.
Scooped by William delmas
Scoop.it!

Running ElasticSearch in a cluster on Azure

Running ElasticSearch in a cluster on Azure | .Net & Web Development | Scoop.it

 I have been brewing on this post for some days now and the excitement of the presentation to come motivated me to finish it. We use ElasticSearch at my day job at eBay and the product is also a key ingredient in my ELMAH in the cloud project elmah.io. In this post I will share my experiences setting up ElasticSearch in a clustered setup of virtual machines, running on Windows Azure. Disclamer: this is in no way an official guide on how to setup ElasticSearch in a cluster. My experience with replication in ElasticSearch is pretty limited, and I only just now found out how virtual networks work in Windows Azure. Use this guide for inspiration and I would love to get some feedback on the approach used.

If you don’t have access to Azure, there’s a free trial available from the frontpage: http://www.windowsazure.com/en-us/pricing/free-trial/. You will get 30 days of Azure with a maximum of $200 worth of services. Pricing on Azure has always been a nightmare, but $200 should do just fine in order to play around with a couple of VMs. When signed up and in, start by creating a new virtual network:

more...
No comment yet.
Suggested by Jan Hesse
Scoop.it!

Introducing ASP.NET Web API Throttling handler

Introducing ASP.NET Web API Throttling handler | .Net & Web Development | Scoop.it

ASP.NET Web API Throttling handler is designed to control the rate of requests that clients can make to a Web API based on IP address, client API key and request route. WebApiThrottle is compatible with Web API v2 and can be installed via NuGet, the package is available atnuget.org/packages/WebApiThrottle.

Web API throttling can be configured using the built-in ThrottlePolicy. You can set multiple limits for different scenarios like allowing an IP or Client to make a maximum number of calls per second, per minute, per hour or even per day. You can define these limits to address all requests made to an API or you can scope the limits to each API route.

more...
No comment yet.
Scooped by William delmas
Scoop.it!

Web API, Async and Performance in an ASP.NET MVC application

Web API, Async and Performance in an ASP.NET MVC application | .Net & Web Development | Scoop.it

The Web API services app is using the latest Web API binaries. If you are using Visual Studio 2012, you can create a Web API application and upgrade to Web API preview version using the –pre parameter in the Package Manager Console. If you are using Visual Studio 2013 Preview, you are already setup with the latest preview binaries for Web API 2.0.

Once the project is setup, we use the following command to install the latest version of Entity Framework (which is version 6 beta at the time of writing).

more...
No comment yet.
Scooped by William delmas
Scoop.it!

End-to-End Testing Angular Apps with NUnit and SpecFlow using Protractor.NET

End-to-End Testing Angular Apps with NUnit and SpecFlow using Protractor.NET | .Net & Web Development | Scoop.it

Protractor is an end-to-end test framework for AngularJS. The official version is built on Node.js and Selenium WebDriverJS. While there is great support for NPM and task runners like Grunt and Gulp in Visual Studio (via extensions in VS 2013, and built into VS 2015), there is currently no way to integrate Protractor tests into Test Explorer (that I know of).

Thankfully there is Protractor.NET, a .NET port of Protractor built on top of Selenium WebDriver for .NET. It allows us to write Angular UI tests using .NET testing frameworks such as NUnit, and arguably produces more readable tests because there’s no need to use promises.

It’s worthwhile to mention that we can write tests for Angular apps using WebDriver alone. Often this is done by inserting waits to pause execution until Angular is finished doing its work. The advantage of using Protractor (and Protractor.NET) is that it understands Angular’s digest cycle and blocks until the digest cycle has finished. This allows us to write much cleaner test code.



more...
No comment yet.
Scooped by William delmas
Scoop.it!

How To Decide What To Do With Your Legacy Code

How To Decide What To Do With Your Legacy Code | .Net & Web Development | Scoop.it

Before you decide what to do, you have to take stock of your situation. Ask these four questions:

  1. Is the code quality high? High quality code can be defined in various ways — .does the code have automated tests? Is it well-factored? Is it easy to read?
  2. Is the code written using a modern technology stack?
  3. Is the highest priority business goal short-term or long-term? For example, do you need to fix bugs right now? Or are you launching an MVP to test product/market fit, do a demo, grab attention of investors? If so, then your high priority goal is near term. But if the future is more important than the near term (like you’ve got an existing customer base and you’re using this software to improve the business over the next few years), you’ve got a long-term goal. Of course, the future is always important. But, there are always tradeoffs, and we have to be honest about what the the highest priority goal is at the moment.
  4. Are the developers who wrote the legacy code part of the development team moving forward?
more...
No comment yet.
Scooped by William delmas
Scoop.it!

Visualize your .NET code quality with NDepend

Visualize your .NET code quality with NDepend | .Net & Web Development | Scoop.it

Code quality is an abstract concept and can be interpreted in several ways. You can find “best practices” depending on your programming language and paradigm. As an Object Oriented Programmer working with C# I heavily rely on the “Clean Code” concepts and the SOLID principles (more here).

Principles and concepts are mandatory for every professional developers. Yet when working on a huge code base it is difficult to know if your concepts are respected everywhere in your application. There are tools to help you with that and I had the chance to be able to test one of them, called NDepend and I will introduce it in this blog post.

more...
No comment yet.
Scooped by William delmas
Scoop.it!

Understanding .NET 2015

Understanding .NET 2015 | .Net & Web Development | Scoop.it

Last year after BUILD I posted Exciting Times for .NET and since then I have had the pleasure of working much closer with the .NET team, which includes the runtime, framework, languages & compilers. Although my focus has been a lot more on internal community in the last year, such as helping run internal conferences for our field employees, I’ve also spent time helping get the .NET Foundation off the ground and learning a lot about open source communities and all our .NET Foundation projects. Oh right, I also got married. :-) It’s been a transition period for me. Going from community “evangelist” to more of a “facilitator” or “connector”.  I really like Alex Hillman’s term: Tummler.

Now that we’re approaching the next BUILD, I’m even more excited about the progress we’ve been making, particularly around the .NET platform itself, and the team’s approach to open source. There are multiple tracks of .NET innovations happening so I thought I’d write a high-level “sign-post” style blog post to help people understand the major pieces and how and where to get involved with the projects. In other words, a good place to start learning about .NET 2015. At least that’s my hope!

more...
No comment yet.
Scooped by William delmas
Scoop.it!

Extending mocking with Moq

Extending mocking with Moq | .Net & Web Development | Scoop.it

In the last part of my Dependency Injection article I introduced the term of “mocking”. This kind of test double can be really powerful. Yet in my example I had to create 2 new classes (my mocks) to be able to test my functionality in order to reduced coupling. Here is the code used by the tests.

Moq provides a Verify method to check whether or not a method has been called and how many times. This is the method I used in the test to validate my test scenarios. You can notice that I no longer used NFluent, because in this case I don’t need it. Yet it is possible to use NFluent with Moq for the tests, they work really well together.

more...
No comment yet.
Scooped by William delmas
Scoop.it!

Design Patterns Training

In software engineering, a design pattern is a general reusable solution to a commonly occurring problem within a given context in software design 
Patterns are formalized best practices that the programmer must implement in the application.

more...
No comment yet.
Scooped by William delmas
Scoop.it!

AngularJS Token Authentication using ASP.NET Web API 2, Owin, and Identity

AngularJS Token Authentication using ASP.NET Web API 2, Owin, and Identity | .Net & Web Development | Scoop.it

In this post we’ll build sample SPA using AngularJS, this application will allow the users to do the following:

  • Register in our system by providing username and password.
  • Secure certain views from viewing by authenticated users (Anonymous users).
  • Allow registered users to log-in and keep them logged in for 24 hours or until they log-out from the system, this should be done using tokens.

If you are new to AngularJS, you can check my other tutorial which provides step by step instructions on how to build SPA using AngularJS, it is important to understand the fundamentals aspects of AngularJS before start working with it, in this tutorial I’ll assume that reader have basic understanding of how AngularJS works.

more...
No comment yet.
Rescooped by William delmas from AspNet MVC
Scoop.it!

ASP.NET Web API exception logging with Raygun.io

ASP.NET Web API exception logging with Raygun.io | .Net & Web Development | Scoop.it

Exception loggers provide you a single point into which you can plug in a service that would log information about any exceptions occurring in the Web API pipeline – regardless where they originated from. Moreover, the relevant ExceptionContext will be provided to you inside that logger, giving you access to contextual information which are specific for the controller or filter or any other Web API component from which the exception was thrown.


Via Marc Chouteau
more...
JonahHayes's comment, April 2, 2014 4:07 AM
ASP.NET such a widely used platform, there are several things to be kept in mind before you take the plunge.
Scooped by William delmas
Scoop.it!

AngularJS and SPA jumpstart, Visual studio

AngularJS and SPA jumpstart, Visual studio | .Net & Web Development | Scoop.it

Rich-clients are back. But the new rich-client is the browser. No more plug-ins or ActiveX objects in sight. Instead you’ll find new, more powerful JavaScript libraries enabling you to more easily build large-scale applications directly in the browser. You’ll still need to be able to work with the disconnected nature of websites, but you no longer need to worry about a page-based model.

One of these libraries is AngularJS from Google. In this article, I hope to get you started by showing you how it works and hopefully why you should be using it.

more...
No comment yet.
Scooped by William delmas
Scoop.it!

Setting up AngularJS for ASP.Net MVC in WebAPI project.

Setting up AngularJS for ASP.Net MVC in WebAPI project. | .Net & Web Development | Scoop.it

Once AngularJS is in place it intercepts all the url navigation requests (<a> tags) and stops the browser form full page refresh. How it happens is

  • It starts with user navigating to the app home(such as http://localhost/home). This is a standard HTML request which gets data from a server view.
  • The browser then loads the necessary html and scripts and sets up the AngularJS configuration.
  • AngularJS navigation ($location service) kicks in and hence forth the only requests that are send are to load partial views into a specific page section (ng-view or ng-include).

Keeping this in mind we start setting up the view.

more...
No comment yet.
Scooped by William delmas
Scoop.it!

Getting Started with Hive on HDInsight - Big Data / Azure

Getting Started with Hive on HDInsight - Big Data / Azure | .Net & Web Development | Scoop.it

HDInsight provides a very easy to use interface to provision a Hadoop cluster with a few clicks and interact with the cluster programmatically. In this blog post, we will explore Hive and how it can be used with HDInsight.

Hive is very popular among data analysts/scientists as it provides a friendly SQL-like interface to interact with the Hadoop cluster. However, behind the scenes, Hive uses the MapReduce framework to submit jobs and get results back. When an HDInsight cluster is provisioned, HiveServer and HiveServer2 services are installed on the head node of the cluster. While HDInsight provides the option to interact with both the services, HiveServer2 is the service of choice since it addresses the concurrency limitation imposed by HiveServer.

more...
William delmas's comment, February 15, 2014 7:41 AM
if you speak french, you should look at http://www.slideshare.net/romaincasteres/big-data-dmystifi-td2014
Scooped by William delmas
Scoop.it!

ASP.NET Web API Series : Async Deep Dive

ASP.NET Web API Series : Async Deep Dive | .Net & Web Development | Scoop.it
If you start browsing through the source code of the ASP.NET Web API, you will find very few classes where they do not have xxxAsync() method or do not contain methods returning varieties of Task<T> (which from here on, I am gonna use to generically refer to all tasks including all variations such as Task and Task<T>). Task allows the operations to be scheduled asynchronously, however, the question is now that most methods return Task<T>, would the context switching of all these asynchronous operations not have an adverse effect on the performance of the Web API? At the end of the day, async was added to improve the scalability but can adversely damage the performance? As we will see below, ASP.NET Web API runs actions asynchronously only if you tell it to - hence no context-switching happens within the framework for non-Task actions. And for Task actions, since we are dealing with long running processes, asynchronous processing provides scalability.
more...
Rudyard Paul's curator insight, January 16, 2014 4:30 AM

An interesting discussion is worth comment. I thinks you should write more on this topic, it might not be a taboo subject but generally people are not enough to speak on such topics. To the next.