Saturday, October 28, 2017

Performance Tips for Android’s ListView

I've been messing around with Android-based code for a few months now while hacking on Native Firefox for Android and Pattrn. I noticed that the performance tips for ListViews are a bit scattered in different sources. This post is an attempt to summarize the ones I found most useful.



I'm assuming you're already familiar with ListViews and understand the framework around AdapterViews. I've added some Android source code pointers for the curious readers willing to understand things a bit deeper.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

Android, Android Development, Android Resources, Android Samples,Mobile Development Tutorials,Mobile Developments

Friday, April 14, 2017

Difference between TDD, BDD and ATDD

TDD

Test driven development is a particular approach to writing code where the tests are written at the same time as the code and involves constant refactoring. Because of its association with XP, TDD is historically associated with the unit test level. However, it is possible to apply it at other levels of testing (such as functional E2E level testing).

TDD tools are traditionally unit testing and mocking tools such as
​​
JUnit and
​​
JMock.

BDD

Behaviour Driven Development can be seen as an extension of TDD. The key enhancement with BDD is the introduction of a domain specific language that is very accesible to business users. BDD will typically be more at the functional test level as that is natural outcome of working with a business focused language.

The most commonly used BDD tool by far is Cucumber.

ATDD

With acceptance test driven development the focus is verifying work is done by passing acceptance tests. As it is dealing with acceptance tests it will usually be at the functional test level. ATDD is close in concept to BDD, but with a stronger focus on the testing aspect as validation. It would be perfectly possible to do BDD in a way that was compliant with ATDD or to do ATDD in a way that was compliant with BDD.

ATDD tools would include Cucumber and Fitnesse.

I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they mi
​​
ght find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.

Sunday, February 26, 2017

Configuring ASP.NET Core Applications in Azure App Service

The .NET Core framework has a nice robust configuration framework. You will normally see the following (or something akin to it) in the constructor of the Startup.cs file: This version gets its settings from JSON files and then overrides these settings with things from environment variables. It seems ideal for Azure App Service because all

✔ Read More...

I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too. 

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Architect,Intermediate,VS2010,.Net,Articles,Computer Tutorials
​,ASP.Net Core, Azure App Service​

Tuesday, February 21, 2017

Setting up Hangfire in an ASP.NET Web API Application

If you want to run some background tasks inside your ASP.NET Web API application, I strongly suggest you have a look at Hangfire. You don't need a separate Windows Service or anything, you can just spawn the task within the Web API. Having said that, Hangfire gives you extended functionality to run your background task as a Console Application or as a Windows Service. For the persistence storage for the tasks, Hangfire uses SQL Server, MySQL, Redis etc.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

.Net, ASP.Net, WebAPIs, Hangfire, Scheduling Tasks