Display a Power BI report within a React JS app
Lately I have given the chance to play around and embed a Power BI report in to a React JS application. Below details are guidance only, actual implementation can be different.
Lately I have given the chance to play around and embed a Power BI report in to a React JS application. Below details are guidance only, actual implementation can be different.
Recently I started switching to React js, knowing Angular and Vue js were not enough nowadays 😉 We all know the shimmer, I want to use this on all tables that have the data. So height of the table does not change while the data loads, also it looks nice. Shimmer.css .loading-shimmer { animation: shimmer […]
Deploying resources to Azure for multiple environments (Dev, Stg, UAT, etc.) can be a painful and time-consuming activity, especially if you don’t have a dedicated DevOps team to carry out these tasks. Even though you have the DevOps team, you will have the dependency on them to get your application out of the door in […]
The Richardson Maturity Model is a model developed by Leonard Richardson in 2008 to categorize and rank the architectural maturity of web APIs based on their adherence to REST (Representational State Transfer) principles. REST is a style of software architecture for distributed systems, often used in web services development.
Let’s see how we can use pdf.co API to convert the same HTML using C# (.net)
Creating PDF reports, and receipts these days is a common thing. While back I implemented a PHP web service to generate PDF from a given HTML, you can pretty much use any fancy HTML and this PHP code converts that to a PDF document with all the css/html styling intact.
Solid principles are a set of design principles that help developers create maintainable, scalable, and flexible software. Regardless of the programming language you use, SOLID will help you write more liner, maintainable, extendable code.
Lets see how we can use Tesseract to extract information from a scanned image or photo of an ID document.
If you wanted to unit test a Repository that uses a DbContext with seeded data, you can use the InMemoryDatabase.
Let see how we can integrate the Microsoft Exchange (AKA EWS) and access the information.
I have recently started integration a web api service, there are more than 2000+ records to get and my input is different.Â
Unit testing Basic Authentication Handler in asp.net core (C# ), I will be using the Xunit (my preferred) and Moq, I personally prefer NSubstitute, but the project was already using Moq and I didn’t want to change it.
All the OData endpoints have stranded responses, I don’t want to change it. Now I need to do my Angular implementation to support OData stranded.
I need to move this email sending task out of the HTTP process and run it in the background. Hangfire is a very good solution for all the background tasks.
I have been having a lot of interest in OData for a few years, but never had the opportunity to actually start implementing it. Since I can’t see an interesting project on the horizon, I thought I will start playing around with one of the sample databases, Adventure Work.
Making Angular reactive forms easier (or better) with @rxweb/reactive-form-validators
Recently I started playing around with Odata and wanted to fast track development with an existing database. I don’t want to waste time on data and the database structure, rather I spend time on asp.net core oData.
Sending emails is bit old and most check emails few times a day. One of the interesting ways of integration is Micrisoft Teams or Slack. These tools are popular among startups as well as enterprise clients.
More often we have to call a RESTfull service, it could be simple as sending an email, SMS, posting a message, etc. We use can use an HttpClient for all our HTTP calls. Alternatively, we can use a library such as Restshaper.
When you use AutoMapper to map our objects, and AutoMapper profiles are the way we do it, it encapsulates a lot of business logic in some cases. But we need to make sure the business logic gets unit tested.
As part of my Mediator handler, I have multiple dependencies injected they are DbContext, IMapper. But remember, as part of the application initialisation we have AutoMapper Profile registration automatically. But it’s not the case with Unit Testing we need to register the dependencies or mock them. Therefore we need to add the Profile to our IMapper initialisation.
As part of the CI/CD, I had run the migrations I created with TypeORM (NodeJs), I have selected the path of creating a function that runs the script. Endpoint needs to be called once the app deployment is completed. Add a Powershell script with First, you need to run, so you will not get certificate […]
Each organisation is different, some has dedicated teams to manage and provision resources. But if you were to manage them your self as a developer, either you login to Azure Portal and create necessary resources yourself or you CI/CD (Infrastructure as a code) do it as part of the release.
When it comes to unit testing you will have to isolate your component and test that component without thinking about any of the dependencies, this is where you will have to use Mocks, it can be a Mocked service, Route, etc.
When it comes to unit testing you will have to isolate your component and test that component without thinking about any of the dependencies, this is where you will have to use Mocks, it can be a Mocked service, Route, etc.
When it comes to unit testing you will have to isolate your component and test that component without thinking about any of the dependencies, this is where you will have to use Mocks, it can be a Mocked service, Route, etc.
When you work with Azure Functions, you can use Azure table storage “Static website” to store all your Angular bundles and assets or even a CDN. Then you can set up your proxies.json to serve the files, everything is pretty much the basics.
Publishing your Angular Library to your organisation DevOps npm feed
Create resources automatically using CI/CD, including creating resources such as Storage, Azure Functions, etc.
As most of us know writing unit test is one of the hot topics among developers, and we all try to write to our best abilities and time constraints. This is about how we can publish results to DevOps as part of your Angular build.