Monday, May 22, 2017

TimSheet Tracking Tool



I just need a employee time sheet tool, Seems lot harder that I thought




http://timetrackerlist.com/





Evaluation

https://cricut.tickspot.com/
http://www.minterapp.com/
https://www.actitime.com/


























- cost


-cost

- cost




- cost









Absense Tracking Tool



after trying out few different tools, feel this is this the right tool for us



https://app.absence.io/




Dream come True on Magento



was able to run Magento on few commands , thanks to docker.


https://github.com/alexcheng1982/docker-magento

add a  host file entry

127.0.0.1 local.magento


docker-compose up -d






https://github.com/andreaskoch/dockerized-magento


https://hub.docker.com/r/alexcheng/magento/


Wednesday, May 17, 2017

Android Stack -2017



//REST Client

http://square.github.io/retrofit/

http://www.vogella.com/tutorials/Retrofit/article.html#exercise-using-retrofit-to-access-github-api-in-android



http://square.github.io/okhttp/

https://github.com/franmontiel/PersistentCookieJar





//Event Bus


http://greenrobot.org/eventbus/


//Image Library

http://frescolib.org/
https://github.com/bumptech/glide


// Dependency Injection

http://square.github.io/dagger/
http://www.vogella.com/tutorials/Dagger/article.html


http://jakewharton.github.io/butterknife/




//RXAndroid

http://reactivex.io/
https://github.com/ReactiveX/RxJava/wiki
https://egghead.io/lessons/rxjs-understand-reactive-programming-using-rxjs


https://www.vokal.io/blog/reactive-forms-with-rxandroid
https://medium.com/crunching-rxandroid/crunching-rxandroid-part-6-6149764b59e
https://news.realm.io/news/donn-felker-reactive-android-ui-programming-with-rxbinding/



MVP

https://news.realm.io/news/eric-maxwell-mvc-mvp-and-mvvm-on-android/


MVP Kotin

https://github.com/ravidsrk/android-mvp-kotlin-starter

Monday, May 8, 2017

.NET Core , AWS



http://docs.servicestack.net/netcore

https://www.codeproject.com/Articles/1163360/Deploy-ASP-NET-Core-Application-on-EC-Amazon-Linu

https://www.twilio.com/blog/2017/03/deploy-net-core-with-docker-and-now-sh.html

https://hub.docker.com/r/microsoft/dotnet/


https://cloudncode.blog/2017/04/14/getting-started-with-the-serverless-framework-on-aws/


https://app.pluralsight.com/library/courses/dotnet-core-mac-linux-getting-started/table-of-contents




Docker DotNetCore

https://stormpath.com/blog/tutorial-deploy-asp-net-core-on-linux-with-docker

https://adamhathcock.github.io/2016/11/22/net-core-1-1-building-with-docker-and-cake.html

http://dotnetliberty.com/index.php/2015/11/26/asp-net-5-on-aws-ec2-container-service-in-10-steps/

http://blog.alexellis.io/run-iis-asp-net-on-windows-10-with-docker/






[Videos]

https://app.pluralsight.com/library/courses/asp-dot-net-core-restful-api-building/table-of-contents

https://app.pluralsight.com/library/courses/dotnet-core-building-cross-platform-applications/table-of-contents


TODO:

https://www.safaribooksonline.com/library/view/learning-aws-lambda/9781787289222/




Dependency Injection

https://andrewlock.net/using-dependency-injection-in-a-net-core-console-application/




https://topshelf.readthedocs.io/en/latest/index.html


C# Refresher









https://app.pluralsight.com/library/courses/csharp-best-practices-collections-generics/table-of-contents


http://stackoverflow.com/questions/558304/can-anyone-explain-ienumerable-and-ienumerator-to-me

https://www.dotnetperls.com/parse

https://csharp.2000things.com/

https://csharp.2000things.com/2010/07/25/38-data-type-hierarchy/



  • String Interpolation
  • Extension Method

Async Await

When using async and await the compiler generates a state machine in the background.
Here's an example on which I hope I can explain some of the high-level details that are going on:
public async Task MyMethodAsync()
{
    Task<int> longRunningTask = LongRunningOperationAsync();
    // independent work which doesn't need the result of LongRunningOperationAsync can be done here

    //and now we call await on the task 
    int result = await longRunningTask;
    //use the result 
    Console.WriteLine(result);
}

public async Task<int> LongRunningOperationAsync() // assume we return an int from this long running operation 
{
    await Task.Delay(1000); //1 seconds delay
    return 1;
}



Sunday, May 7, 2017

C# Delegates



Delegates are similar to interfaces. You are simply defining a contract which can be fulfilled by whatever is consuming the class that uses the delegate. The big difference between an interface and a delegate is an interface defines a contract for an entire class while a delegate defines a contract for a single method.


Array Predicate, best Example of Lambda.


A delegate is a named type that defines a particular kind of method. Just as a class definition lays out all the members for the given kind of object it defines, the delegate lays out the method signature for the kind of method it defines.
Based on this statement, a delegate is a function pointer and it defines what that function looks like.
A great example for a real world application of a delegate is the Predicate. In the example from the link, you will notice that Array.Find takes the array to search and then a predicate to handle the criteria of what to find. In this case it passes a method ProductGT10 which matches the Predicate signature.


If you're interested in seeing how the Delegate pattern is used in real-world code, look no further than Cocoa on Mac OS X. Cocoa is Apple's preferred UI toolkit for programming under Mac OS X, and is coded in Objective C. It's designed so that each UI component is intended to be extended via delegation rather than subclassing or other means.
tm
https://msdn.microsoft.com/en-us/library/d9hy2xwa.aspx

LINQ TO SQL , LINQ to Entities




  • all of them are LINQ - Language Integrated Query - so they all share a lot of commonality. All these "dialects" basically allow you to do a query-style select of data, from various sources.
  • Linq-to-SQL is Microsoft's first attempt at an ORM - Object-Relational Mapper. It supports SQL Server only. It's a mapping technology to map SQL Server database tables to .NET objects.
  • Linq-to-Entities is the same idea, but using Entity Framework in the background, as the ORM - again from Microsoft, but supporting multiple database backends
  • Linq-to-DataSets is LINQ, but using is against the "old-style" ADO.NET 2.0 DataSets - in the times before ORM's from Microsoft, all you could do with ADO.NET was returning DataSets, DataTables etc., and Linq-to-DataSets queries those data stores for data. So in this case, you'd return a DataTable or DataSets (System.Data namespace) from a database backend, and then query those using the LINQ syntax


https://weblogs.asp.net/dixin/entity-framework-core-and-linq-to-entities-1-remote-query

https://www.tektutorialshub.com/linq-to-entities-tutorial/


http://www.entityframeworktutorial.net/EntityFramework-Architecture.aspx



LINQ to SQL
It only works with SQL Server Database.
It generates a .dbml to maintain the relation
It has not support for complex type.
It cannot generate database from model.
Entity Framework
It can works with various databases like Oracle, DB2, MYSQL, SQL Server etc.
It generates an .edmx files initially. The relation is maintained using 3 different files .csdl, .msl and .ssdl
It has support for complex type.
https://sites.google.com/site/19216811wiki/ 




.NET XUNIT, NUNIT,MSTEST




Tuesday, May 2, 2017

Kotlin Tutorial