Skip to main content

Posts

Integrating AppDynamics with asp.net core

AppDynamics provide information about your application/server at single place. Application performance, integration with other systems, business transactions,  user load and exceptions, AppDynamics provide all these information under one dashboard.
Integrating AppDynamics with asp.net core is very simple. Here are the steps to integrate it with your asp.net core application.

1. Download AppDynamics agent libraries from AppDynamics Download Center
2. Extract it on Linux machine and copy the extracted files in your website folder. These are the extracted files -  AppDynamics.Agent.netstandard.dllAppDynamicsConfig.json.templatelibappdprofiler.so3. Rename 'AppDynamicsConfig.json.template' to 'AppDynamicsConfig.json'
4. Make the required changes as per your AppDynamics Controller setup (assuming your AppDynamics Controller is already setup and running)

If you are using .json file, please include below lines in your AppDynamicsConfig.json file "feature": [ "FULL_AGEN…
Recent posts

Verify your website accessibility

Web accessibility is the practice of ensuring that your website is interactive and accessible to even people with disabilities. Many countries provide laws protecting the rights of disabled persons, therefore it becomes really important to design and develop the website in compliance with those laws and follow web accessibility as de-facto.

The blog helps to test your web accessibility.

1. Open chrome browser and browse any website. Open developer tools and click on Audit tab. Scroll to Audits section and check the 'Accessibility' option.

2. Once you click on 'Run audits' button, you will see a message(as shown below). Don't worry, auditing has started.


3. Once audit is completed, it will generate audit report(as shown below)
Have a great day !!

Creating and Installing Sitecore Packages

Creating and Installng Sitecore Package
Create Sitecore Package 1. Open Sitecore(from where you would like to create package) and click on Package Designer
2. Once Package designer panel is opened, click on Item statically and provide all required details as shown below
3. After clicking on 'Item statically' option, a popup will open. Choose selected items and click on 'Add with SubItems' or 'Add Items' buttons
    a. clicking on 'Add Item' will only include selected item and not child items


    b. clicking on 'Add with subitems' will include selected Item and its child items

4. Click on 'Generate Zip' option which will generate the package in .zip format

5. Download the .zip file of sitecore package by clicking on download button
Installing Sitecore Package 1. Open Sitecore (instance where you would like to install package) and click on 'Installation Wizard'

2. upload the .zip package to install and click next to install

3. Durin…

Quick Tutorial - Setup a Solr instance

Before we start installing Solr instance on any machine, we should be clear on few concepts.


What is Solr?Solr is Apache's product and a fast open-source Java search server.Why we need it?Solr enables you to easily create search engine for websites, databases and files.How can we install it?You can download any version of Solr from http://archive.apache.org/dist/lucene/solr/.  Steps to install after it is downloaded- Extract the downloaded Solr package and copy it on C or D drivePlease make sure latest version of Java is installed on machine. You can start Solr instance by below command: java -jar start.jar By default, Solr will run on port 8983. However you can change it ../etc/Jetty.xml file. Look for <set name="port"><SystemProperty name="jetty.port" default="8983"></set> and change it.You can keep the below command in .bet file and run it automatically.  "C:\solr-6.1.0\bin\solr" restart -h localhost -p 8984 Please feel f…

Could not load file or assembly 'Microsoft.Web.Infrastructure'

Could not load file or assembly 'Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.



What 'Micorosoft.Web.Infrastructure' does? This dll lets HTTP modules register at run time.
Solution to above problem: Copy 'Micorosoft.Web.Infrastructure' dll in bin folder of your project and this problem should be resolved. If you have .Net framework installed on machine, this dll should be present on it. You can search for this dll and copy it in your active project folder.  
Alternatively,  you can install this dll using nuget package manager PM> Install-Package Microsoft.Web.Infrastructure -Version 1.0.0
Happy coding!!

WFFM: Save to Database

Web Forms For Marketers has become one of the essential component of Sitecore. Almost every website is using forms to capture the inputs from users and it is very common scenario to get the data stored in Database for reporting purpose. Here are few easy steps which can help you storing the form's data in SQL database.


Download the WFFM - SQL Provider(Save To Database) and install it in Sitecore using Installation wizard. All physical files and Sitecore items will be stored in respective location.Once installed, you will notice that it has created a new Action under System-> Modules -> Web Forms for Marketers -> Settings -> Actions -> Save ActionsNow, we have to add connection string in configuration file which will help us storing the data in that database. You have to keep the name of connectionstring to 'wfm' only as same name is referred in WFFM module code.
< add connectionstring="user id=your_db_user_id;password=your_db_password;Data Source=you…

HTTP Compression and Performance tuning

With the advancement of technology and exceeding expectations of users, one has to be very careful designing a website. Performance is one of the key elements for success of an application. Even if, you have designed the application with uttermost care and rock solid architecture, there are few key areas in which you have to be really vigilant. HTTP Compression is one of those pivotal spaces.

HTTP compression is the technique to compress static and dynamic content which improves the transfer speed and performance of a website.

Steps to keep the compression ON for a website. Here the demonstration is given for IIS based website.
1. Open IIS (inetmgr)
2. Goto website. Right side will show all components of that website
3. Click on 'Compression' module and verify that both the checkboxes are checked if you need static and dynamic content to be compressed.




4. Click 'Mime Types' and check 'application/x-javascript' is added in the existing mime types. If not, add it.