|
Mirrored Weblogs
-
What is it? EditorConfig helps developers define and maintain consistent coding styles between different editors and IDEs. The EditorConfig project consists of a file format for defining coding styles and a collection of text editor plugins that enable editors to read the file format and adhere to defined styles. EditorConfig files are easily readable and they work nicely with version control......
|
-
Node.js is updating quite frequently these days, so using your terminal on a Mac or command line on Windows would make update process faster. Updating Node.js on a Mac To update node.js on a mac, through terminal, you have a lot of options through popular package managers or node.js version managers. N N is a very simple node.js version management system. If you don’t have it,......
|
-
Parse was founded in 2011, in order to provide backend tools for mobile developers that help them store data in the cloud, manage identity logins, handle push notifications and run custom code in the cloud. In 2013 it was acquired by Facebook and in 2014 it was reported to power 500,000 mobile apps. Parse Server is an open source version of the Parse......
|
-
Parse was founded in 2011, in order to provide backend tools for mobile developers that help them store data in the cloud, manage identity logins, handle push notifications and run custom code in the cloud. In 2013 it was acquired by Facebook and in 2014 it was reported to power 500,000 mobile apps. Parse Server is an open source version of the Parse......
|
-
In this post I am going to create a hands on example, a sample ASP.Net MVC application where I will demonstrate the concept of ViewModels. As we know MVC is a UI design pattern. MVC is based on an architecture model that embraces the so called "seperation of concern pattern". There are three main building blocks in the MVC pattern. The Controller orchestrates everything.When we have an HTTP request coming in, that request is routed to the Controller. The View talks to the Model. The Model has the data that the View needs to display.The View does not have much logic in them at all. We design our business domain (after extracting our use cases from the specification document) by creating the appropriate classes in the Models folder. The Controller handles all user interaction logic. The View contains all the user interface that the user will interact. So if MVC is a separation of concerns pattern, why we need another concept like ViewModels. In our ASP.Net MVC applications we need to pass data, or display data from...
|
-
Nowadays, it seems very common to upload an image to an application, have it analyzed and get useful info about it; have you ever wondered,though, how easy it is to add this functionality to your own app? I am going to start a series of posts, describing a simple ASP.NET core application that allows you to upload images, detect faces and extract......
|
-
In this post I will use a simple ASP.Net 5.0 MVC application to implement a jQuery Ajax call to an ASP.Net MVC controller. JQuery is not only about DOM manipulation and handling events on the client. It is very powerful when we want to manipulate HTML elements but also can talk with server side and instantiate In this example we will use the JQuery Ajax function to talk to an ASP.Net MVC controller and result JSONResult to the view. You can have a look in this post of mine where I talk about JQuery Ajax functions. In this post I provide a more extended example on how to use JQuery Ajax functions. I am going to create a sample application where I will have a simple dropdown which I will populate with data. Every time there is a change in the DropDown control, there will be a JQuery Ajax call to the controller. There are employees that belong to projects, one project has many employees. This is 1->N relationship between projects and employees. I am going to need a database for this example. The database is called...
|
-
At Trafilm project’s Metadata (http://github.com/zoomicon/Trafilm.Metadata) I have a linked data structure where a Film contains multiple Conversations which contain multiple L3SToccurrences, which in turn contain multiple L3TToccurrences. I had the need to calculate a list of all unique L2language values of L3TToccurrence grand-grand-children for a Film (to keep as calculated metadata for display at the […]...
|
-
At MonoX Social CMS, which I use at both ClipFlair Social and Trafilm websites, I was in the need of hiding some HTML markup when the user is not signed-in. The solution for this is to add runat="server" to the HMTL element one wants to hide and then set the Visible property that the object […]...
|
-
In case this bites you too with a "Path not found" error, note that calling a label in a batch file, fails if you redirect its output (useful to log the output of the batch file to a file) and not use a full path for the file to redirect to @echo off call :process […]...
|
-
Content Delivery Network or Content Distribution Network (CDN) is a globally distributed network of proxy servers, deployed in multiple data centers, which serve content to end users with high availability and high performance. Usually, when a user visits your site, he/she gets redirected to your web host’s server, which is found at a central location. Based on the distance between the user’s and the server’s......
|
-
Wouldn’t it be nice if I could use in C# the following syntax? for (SomeType repeaterVariable in SomeEnumerable where someBooleanExpressionOfRepeaterVariable) doSomethingUsingRepeaterVariable; e.g. use this one: instead of this one: BTW, if you wonder what FixTime does, it prepends 0: to time strings to make sure they are of format h:m:s.f Have added […]...
|
-
When developing/architecting our custom ASP.Net MVC applications we do use the Repository Pattern/Generic Repository Pattern . I want to share my experience and thoughts with the community of developers out there that use Generic Repositories in their code. At first a definition is appropriate. Martin Fowler gives the definition of the Repository Pattern: "Mediates between the domain and data mapping layers using a collection-like interface for accessing domain objects.". You can read more link in his post . In simpler words, the Repository Pattern creates an abstraction layer between the data access layer and the business logic layer of an application . Repository design pattern is a way to simplify data access and enforce separation of concerns. When I began learning about repositories and implementing them in my own software design, it had a huge impact on my application architecture. It helped me to automate testing practices, forced me to consider separation of concerns with each method and behavior I added...
|
-
In Windows when you want to copy the path for your folder you click on the address bar and simply copy-paste the address path, but in Finder- in your Mac- you don’t have that option. So how you do that then? The process is very simple and is going to be described in the next few steps. Launch Automator Create Service......
|
-
There are some scenarios where you might want to reinstall nuget packages in your projects, like for example: Project Retargeting or Upgrade This can be useful when a project has been retargeted or upgraded and if the package REQUIRES reinstallation due to the change in target framework. You Broke the Project In case, you have inadvertently modified contents installed from a......
|
-
I’d like to be able to do someFunctionReturningY(x){ somePropertyOfY=4; … }.DoSomething(); It should also support casting without needing parentheses in the following type of statement: Z zzz = (Z)functionReturningY{somePropertyOfZ=…; … }; The same pattern should work for enums too apart from object instances. It is inspired by initializers in C#, e.g. var x = […]...
|
-
Data is not only the core of any business but also a significant asset for all users. Important files -like critical work documents or personal photos- deserve a great backup strategy for their protection against unexpected hardware failure or plain accidental deletion. In the recent release of DSM 6.0, Synology introduced a tool, called Hyper Backup, which provides a multi-version backup and minimizes the......
|
-
In this tutorial we are going to create a simple ASP.NET 5 web application on Mac, use SignalR to push events from server to connected clients and then deploy to Azure through a git repository. What is ASP.NET 5? ASP.NET 5 is a new open-source and cross-platform framework for building modern cloud-based Web applications using .NET. It consists of modular components with minimal......
|
-
DevExpress released in v15.2.9 an ASP.NET Dashboard Designer ( Online Demo ). Following eXpandFramework with v15.2.9.3 releases an update to the existing integration of the dashboard suite . Windows In the existing windows implementation the end user can use the UI to create a DashboardDefinition , assign a few Business object types as datasources and execute the Edit Dashboard action to run the Designer . Web Similarly the end user need to perform the same actions to run the ASP.NET dashboard designer and create dashboard over the existing Business Object domain. As you can see from the images above the eXpandFramework Dashboard module utilize security and syntax highlight editors integrations . The highlight for the win platform is done with the help of DevExpress XtraRichEdit control and for the web with the help of ACE cloud9 editor . For those of you interested in the XtraDashboardTester solution you can find and run the related Easytests for the module. Basically the ASP.NET dashboard designer...
|
-
Today, I feel quite relieved. The reason? Yesterday, I organised my first big event in Athens, Greece, part of a much bigger event called Global Azure Bootcamp 2016, with the help of a very good friend of mine Kostas Pantos. What is Global Azure Bootcamp? In brief, it’s one day deep dive class to help thousands of people get up to speed......
|
-
It’s been quite some time since I had the chance to speak publicly and I Read more...
|
-
When running many services at large scale, you rely very heavily on telemetry to help Read more...
|
-
-
In this post I will article shows you how to build a simple web application in ASP.NET MVC 6 & Entity Framework 7 using ASP.NET 5-ASP.Net Core. I will also demonstrate some new concepts in ASP.Net 5.0 and highlight important changes. If you are new to ASP.Net 5.0 and MVC 6.0 then please have a look at this introductory post of mine, here . If you want to learn ASP.Ne 5.0 by video there is a great introductory course by Scott Hanselman in this link . You can developer ASP.Net 5.0 applications without Visual Studio and outside Windows. I will use Visual Studio 2015 in this post.Any edition will work. To those people who do not have access to Visual Studio 2015, please note that Visual Studio 2015 has a community edition which is available for free.Please check the licensing of this edition though You can download it here . You also need to download ASP.Net 5.0 . Please note that ASP.NET 5 is not included in the installation of Visual Studio 2015. This will probably change in the fucture. Before diving into our...
|
-
WebJobs is a feature of the Azure App Service that enables you to run a program or a script, continuously, either based on a specific schedule or on demand, in the same context as a web app, API app, or mobile app. WebJobs SDK provides triggers, which comprise the conditions that cause the function to be called, and binders, that comprise the way......
|
|
|
|