In most business applications, you are going to want to disable, or make invisible, different features such as menu items, buttons and other UI items, based on who is logged in and what roles or permissions they have. Angular does not have anything built-in to help you with this, so you must create it yourself. There are two different pieces to security you must worry about with Angular applications. First, you must develop the client-side security, which is the subject of this article. Second, you must secure your Web API calls, which will be the subject of another article.
Garbage collection is so often at the root (excuse the pun) of many performance problems, very often because of misunderstanding, so please do set aside time to deepen your understanding after reading this.
We know how web assembly and C# can be a game changer and will help the C# to run on Browser so moving to the next article, let’s see how we can setup Blazor in your machine and how we can get started with our first application with Blazor.
In Part 1 of this article series, you created a set Angular classes for users and user authentication/authorization. You used these classes to login a user, create a set of properties in a class to turn menus and buttons on and off. In this article you learn to authenticate users against a Web API method. That method returns an authorization object with the same properties as the classes you created in Angular. You are also going to learn to secure your Web API methods using JSON Web Tokens (JWT). You use the [Authorize] attribute to secure your methods, and you learn to add security policies too.
Task Manager shows you the programs, processes, and services that are currently running on your computer. You can use Task Manager to monitor your computer’s performance or to close a program that is not responding.
Ansible is a world leading automation and configuration management tool. At GigeNET we heavily invest in the use of Ansible as our automation backbone. We use it to manage deployments on a large array of our platforms from our public cloud’s 1-Click applications to managing our own internal systems desired configurations.
There are a variety of computing workloads that support successful business operations. If we were to maximize resource usage for these workloads, we would end up with a vast assortment of computer chassis, hard drives, RAM chips, and a host of various other computer parts. And although this assortment would provide coverage for the current needs, it would not be able to keep up with business growth (or shrinkage), nor would it be economical to maintain.
In this article, let’s see how to create our own ASP.NET Core Blazor Master Detail HTML CRUD (Insert, Update, Select and Delete) for both Master and Detail Grid with Sorting and Filtering using Entity Framework, and Web API.
The MySQL and MS SQL are the two of the most widely used database systems in the world. The first thing that you will note about these two database systems is how they are availed to users. MySQL is open source software. This means that the use of MySQL comes from the pooled knowledge of different people from different corners of the world. This can be arguably be the biggest plus for MySQL as users through the open source platform can continually improve the general program. MS SQL on the other hand uses a closed source development approach. By this, the development of the program is done in-house and all that the consumers get is a program that they are supposed to use.
As a one-stop service for log data, Log Service (Log for short) experiences massive big data scenarios of several hybrid cloud services provider. Log Service allows you to quickly complete the collection, consumption, shipping, query, and analysis of log data without the need for development, which improves the Operation & Maintenance (O&M) efficiency and the operational efficiency and builds the processing capabilities to handle massive logs in the DT (data technology) era.
You probably have solved the basic problem when you try to find the first number k that is divisible by a given number n, example:
Views in databases are brilliant. It allows for a layer of abstraction over the actual data model and to allow a set of search queries which are used a lot to be reused very quickly. While the Entity Framework has support for using Views, sometimes you want to be able to write the view in the Code itself. This can be especially useful when the code does some form of encryption on the data (in case you can’t use the database encryption).
This article is on top of “Generate TypeScript Client API for ASP.NET Web API “ and is focused on Angular 2+ code examples and respective SDLC. If you are developing a .NET Core Web API backend, you may need to read Generate C# Client API for ASP.NET Core Web API.
Let’s have a quick review of ASP.NET MVC Architecture. So when the request arrives at our application MVC Framework hands off that request to an action in a controller, this action most of the time returns a view which is then parsed by razor view engine and then eventually HTML markup is returned to the client. So in this approach html markup is generated on the server and then return to the client.
If you move in the Past, you’ll get to know that in the early 1980s. You’ll see the applications running on PCs that access the local data files. This creates a problem because multiple users won’t able to share the data. As things evolved, databases installed to be on Servers this enable the multiple users to share the data on the network. And we need something to manage the data this was the relational database system come into play. They do so with the Structure Query Language (SQL). In this simple text, they get passed to the server from the client application. The DBMS on turns take care of all the file known necessary to perform the operation the users requested which could be inserted, update, delete, retrieve, read, modify data etc.
In this article, we will take a look into a simple pathfinding laboratory–a web application where users can edit map and compare paths found by different pathfinding algorithms and heuristic functions. The project is built on the following frameworks and technologies:
This article briefly describes the most important basics of the library Manufaktura.Controls which I recently released as Open Source project. The project is a continuation of two other projects which I created eight years ago and which are described in the following articles:
This article does not contain any source code or technical discussions but it’s more of a guideline.It’s been years (11 years to be exact as of this time of writing) since I am involved in various technical community forums such as forums.asp.net, codeasp.net/forums, aspforums.net/forums, forums.xamarin.com , c-sharpcorner.com/forums and most recently here in the CodeProject community. I’ve helped resolve hundreds or maybe thousands of questions from simple to very complex issues. Being in the community is awesome as I get the chance to learn and help fellow developers around the world. Most of the time, I’ve encountered questions that are unclear, duplicate questions and even more, questions that are very general in nature. So I thought I would share some of my thoughts on the topic and provide some guidance for those developers, most especially to the freshers who are looking for a solution to their problems.
EntityWorker.Core is an object-relation mapper that enables .NET developers to work with relations data using objects. EntityWorker is an alternative to entityframework, is more flexible and much faster than entity framework.
An under-utilised setting that can offer substantial performance gains.
Workstation GC – is what you’ll be getting by default with a .NET application and might be unaware of another option. It uses smaller segments, which means more frequent collections, which in turn are short, thus minimising application thread suspensions. When used with concurrent GC it is best suited for desktop / GUI applications. With concurrent disabled (all threads will suspend for GC) it uses a little less memory and is best suited for lightweight services on single-core machines, processing intermittently (appropriate use cases are few and far between).
This guide is about how to create a service monitor application, but what is it? In simple words: it’s an application that allows to monitor services in a network and save results from monitoring in a database, SQL Server for this case.
As anyone who as worked in corporate environments knows, is that they love their Excel reports with logos, formatting and formulas, which is in all honesty probably the best way to present data to “higher uppers”.
In a recent project, I am faced with a challenge to understand a large .NET code base developed by several team members over quite a few years. All of them had left, leaving behind only a couple documents covering the usage of the software; very little documentation is found on the program architecture or algorithms. Comments in the code are also scarce.
The total code base is tens of thousands of lines long, so I direly need a way to understand the architecture quickly.
Being a visual person, I started with Visual Studio’s class diagram. That helped a little but not too much, because the class diagram only revealed data structures. What’s more important to me is the call diagram among functions which can show me the flow of computation in a bird’s-eye view. I heard somewhere there is such a tool in Visual Studio Enterprise, but I only have the free Visual Studio Community and wouldn’t be able to afford an Enterprise license.
I tried creating function call diagrams myself using drawing programs like Visio, but that soon proved infeasible. So I searched online and found NDepend. After reading abundant reviews, I decided to dive in. I downloaded the trial, installed it, and created an analysis for my project. Then, following the online help, I created a Callers / Callees graph using the menu as shown in Fig. 1.
(You need Visual Studio 2017 to compile the project.)This article will help you to understand how 3D calculations are made inside the GPU.
Within few weeks, I am writing third article in DART2 Prima Plus series, As mentioned earlier Its new kid in block, with feature addition and releases almost every week. I believe they taking scrum methodology by heart.
Zenodys is Visual Development Tool, sandboxed execution environment and decentralized marketplace of digital assets. These aspects might seems unrelated at first sight, but properly combined together they create a marketplace where everyone, regardless of programming skills, are able to trade their digital assets.
For example, non developers can easily create applications with just drag’n’dropping visual icons and setting their properties inside Visual Development Tool. Applications can gather data from their devices and other sources and are executed off-chain inside sandboxed execution environment. Gathered digital assets are then published on distributed Digital Assets Marketplace.
Applications on consumer side are similar to ones on supply side. But instead of publishing digital assets to marketplace, they deliver purchased digital assets from marketplace.
Visual Development Tool is browser based IDE for visually connecting microservices (Elements). Created visual scripts are then executed by orchestration tool (Computing Engine) on edge devices in sandboxed execution environment.
In the previous post, we have seen how to calculate some of the basic parameters of descriptive statistics, as well as how to normalize data by calculating mean and standard deviation. In this blog post, we are going to implement data normalization as regular neural network layer, which can simplify the training process and data preparation.
SQL Server Database Engine is a general-purpose multi-model Database Engine that enables you to combine the classic relational concepts with NoSQL concepts such as JSON documents. In this article, you will see some use cases how to combine JSON with relational data and when to use it.
As you already know, Microsoft has dropped the development of HyperTerminal starting with Windows 7. IntelliPort is a program that you can use to connect to other computers, using either your null modem cable or Ethernet connection. IntelliPort records the messages passed to and from the computer on the other end of your connection. Therefore, it can serve as a valuable troubleshooting tool when setting up and using your modem. To make sure that your modem is connected properly or to view your modem’s settings, you can send commands through IntelliPort and check the results. IntelliPort has scroll functionality that allows you to look at received text that has scrolled off the screen. You can use IntelliPort to transfer large files from a computer onto your portable computer using a serial port rather than going through the process of setting up your portable computer on a network. IntelliPort is designed to be an easy-to-use tool and is not meant to replace other full-feature tools available on the market. You can use IntelliPort to perform the specific tasks described above, but do not attempt to use IntelliPort for more complex communication needs.
This tip exists because the actual Arduino firmware do not support full communication with the PC using HID, we cannot read data from the PC actually.