Your new post is loading...
Your new post is loading...
|
Rescooped by
William delmas
from React
|
Rome is a linter, compiler, bundler, and more for JavaScript, TypeScript, JSON, HTML, Markdown, and CSS.
Rome is designed to replace Babel, ESLint, Webpack, Prettier, Jest, and others.
Rome unifies functionality that has previously been separate tools. Building upon a shared base allows us to provide a cohesive experience for processing code, displaying errors, parallelizing work, caching, and configuration.
Rome has strong conventions and aims to have minimal configuration. Read more about our project philosophy.
Rome is written in TypeScript and runs on Node.js. Rome has zero dependencies, and has largely been written from scratch. See credits for more information.
Rome is maintained by a team of volunteers under an established governance model.
Rome is MIT licensed and moderated under the Contributor Covenant Code of Conduct.
Today I will continue to present my work on AkkaOfEmpires, in this project I implement some of the rules from the game Age Of Empires II using the actor model with Akka.NET. You can have a look at the first step here.
In few words, the philosophy is : - Migrate the database from a list of sql migration scripts (schemas and data).
- Each script is prefixed by a version number that determine the version of the database.
- The execution trace of the scripts is saved in a “schemas_version” table.
- Automatically find which scripts to execute to upgrate a database to a specific version.
And here the official website : http://flywaydb.org/
Grunt is described as “a node based javascript task runner with which you can automate tasks like minification, compilation, unit testing, linting and more”. You can use it for example when you do not like to be dependent on an asp.net web server doing minification and bundling for you, or you simply like to be able to use tools that are not (yet) supported by the asp.net/Visual Studio ecosystem.
In our previous article IntelliTrace using Visual Studio 2013 Preview we discussed how IntelliTrace in Visual Studio 2013 helps in debugging. In this article, we will find out how “.iTrace” files can be created using Microsoft Test Manager and later debugged using Visual Studio. We will also find out the steps for debugging in production environment.
PayPal is an online payment service that allows you to pay for purchases, receive payments, or to send and receive money. To receive these services, a person must submit various financial details to PayPal, such as credit card number, transmission can be done by mail. Thereafter, transactions are conducted without having to disclose financial details, an email address and a password is sufficient.
This work was done by Jerónimo Milea. Jerónimo let me know he was working on DDEX support on this thread after I said I was working on DDEX support for Npgsql.
He sent me his working copy and I started to play with it. Note that as a preview version many things may not work ok and we wanted you to provide us feedback so we can fix any bugs. Design time support is provided as a zip file containing support code as well as a copy of Npgsql project file. So, everything you need to start working with design time support is already packaged for you.
Under some scenarios, we need to impersonate another Windows account and do some work under that user’s session, for example:An enterprise ASP.NET web application provides server administrators’ ability to access the server under some specific privilege set; Server admin inputs their NT account information (domain\account + password) on the page, we need to get WinNT Access Token and then impersonate this server user, so that we acquire its specific privilege and do the things ONLY THIS ACCOUNT CAN DO.We developed a Windows Service which needs internet access periodically, but a specific user sets anSock5 proxy to access internet, then your Windows Service needs to know the Socks proxy information so that it could access internet, you must impersonate this user and read the settings.
This is a simple API to access IMDb information about movies and tv series. This was developed with visual studio 2008 and the solution has two projects, the actual API, that creates a dll and a commented test project to show how to use the api. Those are available in the Source section, and now in the downloads section also. In the Downloads section, it's available the most recent version of the dll, ready to be used. In the Downloads section there is also a .chm file with the API and test project documentation.
scriptcs makes it easy to write and execute C# with a simple text editor. While Visual Studio, and other IDEs, are powerful tools, they can sometimes hinder productivity more than they promote it. You don’t always need, or want, the overhead of a creating a new solution or project. Sometimes you want to just type away in your favorite text editor.
A small validation library for .NET that uses a fluent interface and lambda expressions for building validation rules for your business objects.
The Apache log4net library is a tool to help the programmer output log statements to a variety of output targets. log4net is a port of the excellent Apache log4j™ framework to the Microsoft® .NET runtime. We have kept the framework similar in spirit to the original log4j while taking advantage of new features in the .NET runtime.
A C# implementation of the OpenID, OAuth and InfoCard protocols
|
|
Rescooped by
William delmas
from React
|
Storybook 6.0 comes with best practice features pre-configured. These features were previously available as addons. Now these Essential addons have been tuned, documented, and shipped with Storybook. Furthermore, TypeScript support is built in, so you don’t have to worry about that either.
The emergence of single page applications introduces a new need for web developers: a front end build process. Javascript MV* frameworks now allow web developers to build complex and sophisticated applications with many files (js, css, sass/less, html …). We’re very far from those 3 lines of JavaScript to put “a kind of magic” on your web site.
What do we need to have today to build a web site? Here are common tasks you may need: - Validate scripts with JSLint
- Run tests (unit/integration/e2e) with code coverage
- Run preprocessors for scripts (coffee, typescript) or styles (LESS, SASS)
- Follow WPO recommendations (minify, combine, optimize images…)
- Continuous testing and Continuous deployment
- Manage front-end components
- Run X, execute Y
NFluent will make your tests fluent to write: with a super-duper-happy auto-completion 'dot' experience. Indeed, just type the Check.That( followed by one of your object and a dot, and your IDE will show you all the checks available for the type of the given object to verify. No more, no less (i.e. no auto completion flooding).fluent to read: very close to plain English, making it easier for non-technical people to read test code.fluent to troubleshoot: every failing check of the NFluent library throws an Exception with a crystal-clear message status to ease your TDD experience (see examples below). Thus, no need to set a breakpoint and to debug in order to be able to figure out what went wrong.helpful to reverse engineer legacy code: indeed, temporarily write an on-purpose failing assert on a legacy method, so you can understand it and leverage on the "ready-to-be-copied-and-paste-for-arrays-or-collections-initialization-purpose" NFluent assert failure messages.less error-prone: indeed, no more confusion about the order of the "expected" and "actual" values you can find in the classical .NET unit tests frameworks.
So snippets are really useful and boosts productivity. You can even write your own very easily – it's just simple XML files. Here's a great walkthrough on how to create individual snippet files. It's a bit old, but the format is the same for Visual Studio 2012/2013.
One would imagine that parsing CSV files is a straightforward and boring task. I was thinking that too, until I had to parse several CSV files of a couple GB each. After trying to use the OLEDB JET driver and various Regular Expressions, I still ran into serious performance problems. At this point, I decided I would try the custom class option. I scoured the net for existing code, but finding a correct, fast, and efficient CSV parser and reader is not so simple, whatever platform/language you fancy.
PetaPoco is a tiny .NET data access layer inspired by Rob Conery's Massive project but for use with non-dynamic POCO objects. It came about because I was finding many of my projects that used SubSonic/Linq were slow or becoming mixed bags of Linq and CodingHorror. I needed a data acess layer that was: tinyfasteasy to use and similar to SubSoniccould run on .NET 3.5 and/or Mono 2.6 (ie: no support for dynamic).
We wanted to share our experiences in this space and decided to re-frame them in the context ofAngularJS from a .NET developer's point of view. While in the past, we've communicated our experiences via books and magazine articles, these rather slow mediums did not seem to be the right choice. Instead we've decided to release the information in a continuous deployment fashion on this web site.
Npgsql is a .Net Data Provider for Postgresql. It allows any program developed for .Net framework to access database server. It is implemented in 100% C# code. Works with Postgresql 7.x and above.
What is it? Where did it come from? What does it do?
Dapper is a single file you can drop in to your project that will extend your IDbConnection interface. It provides 3 helpers: -Execute a query and map the results to a strongly typed List -Execute a query and map it to a list of dynamic objects -Execute a Command that returns no results
A server-side library for sending Push Notifications to iOS (iPhone/iPad APNS), Android (C2DM and GCM - Google Cloud Message), Windows Phone, and Windows 8 devices!
|