Class Library(.Net Core) VS Class Library(Portable for iOS,Android and Windows) - angularjs

I want to develop an API using ASP.NET core web api, the solution contains 3 projects of type class library and 1 projects of type Web api (For Separation of Concern), My API should be consumable from xamarin and angular.
What type of class library should I use :
Class Library(.Net Core) OR Class Library(Portable for iOS,Android and Windows)
I'am using vs 2015 update 3
Class Library Types

Generally speaking as mentioned in the comments NetStandard is the way to go if you're trying to share between an AspNetCore project and a Xamarin Project.
The defacto standard of new projects is NetStandard1.4 which while perfectly consumable by Xamarin.iOS and Xamarin.Android, is not going to be consumable by a PCL in your project. In order to share code between the API and a PCL for Xamarin you will need to change the NetStandard version based on what PCL Profile you're using. You can find more information in the docs from Microsoft, but here is the key:
Profile 78 & Profile 259 - need NetStandard1.0
Profile 111 - can use NetStandard1.0 or NetStandard1.1

Related

Misunderstanding about a technical test for my first application

I have a technical test for a position which consists in creating a simple TODO-App. I wonder about part of the instructions :
The product owner is curious and likes to read the application code on Github and test it via Github Pages
The application should have a mocked backend and store all todos on it (extension of HttpXhrBackend)
From what I read Github Pages allows to host "frontend" part of websites, so how is it possible to test a fullstack app with it? Does it just mean that I have to create a test pipeline via Github Action or I'm missing something?
Secondly, concerning the "mocked backend", it mentions HttpXhrBackend which is an Angular class. Is there any React alternatives? I have to specify that I've never used Angular yet and they left me the choice of programming languages to carry out this project:
The backend application should be based on your preferred languages (Java , JS, PHP, Python, Go, C++, ...) and/or Framework (Spring Boot,
Django, .NetCore , NodeJS, Angular, React, ...)
Which solutions should I consider if I want to use Spring/React and meet these requirements?

Asp.Net Core JavaScriptServices - React

I have worked with react in asp.net MVC (Before .net core released) using ReactJs.net. Right now I am working with .net core. I want to use React with asp.net mvc core. I know that Microsoft has provided Javascriptservices to use for single page application.
Unfortunately I am not getting any good tutorial for Asp.net core JavascriptServices with react. There are few available but its with Angular only.
I came across this Asp.Net Core React+Redux tutorials or what are React, React+Redux and ReactJs.net?
It is good source but its individual course on .net core, react,redux etc.
This is also not giving in depth view - https://blogs.msdn.microsoft.com/webdev/2017/02/14/building-single-page-applications-on-asp-net-core-with-javascriptservices/
I am looking for tutorial on how to use Asp.net Core Javascriptservices with React template for real time web application. I am not sure how to start with it.
Anybody can provide good reference for that please? or any suggestion?

Does Selenium suports CRM applications

What are the best automation tools which support dynamic Full CRM dynamics application? does Selenium webdriver supports it ?
You can only test HTML based websites with Selenium. If the CRM application exposes an HTML based front end that is accessible via a web browser then you can use Selenium to test it, if not you can't.
You should check following toolkit from product team based on the Celenium - https://github.com/microsoft/easyrepro
Here is short quote:
The purpose of this library is to provide Dynamics customers the
ability to facilitate automated UI testing for their projects. These
API’s provide an easy to use set of commands that make setting up UI
testing quick and easy. The functionality provided covers the core CRM
commands that end users would perform on a typical workday and working
to extend that coverage to more functionality.

Creating E commerce using Angular 2

I want to build an E-commerce system (intermediate scale to big scale) and have to choose a platform to use for developement. In general we use Codeigniter sometimes Angular.
But I want to try a new platform using Angular 2 to build this system. However our team still looks for plus and minus in many aspects if we use Angular especially concerning security and speed load each page using Credit Card and SEO.
Would you like to give me some suggestion to choose the best platform (not Wordpress, Magento, other CMS) to build an E-commerce site?
I highly recommend that you checkout Moltin with either Angular2 or ReactJS. Moltin is a API platform as a service. very flexible to us and it trending solution for any type of UI Design you have and want to use. They also have cross platform iOS, Andriod, Web SDK. Get you running in no time.. I am working on a project with Angular2 and Moltin.

How to create advance architecture for ASP.NET MVC 5 and WebAPI 2 technology with Angular js

I'm beginner of ASP.NET MVC 5 and WebAPI 2 technology and Angular js .
I wanted to develop project for demo purpose. This project will be used with following layer
A project "Web.Front" - ASP.NET MVC 5
A project "WebApi2"
A project "Models" - Class library - using Code First
Repository Class library
i did goggling but unable to find good sample project.please anybody having good artical or sample project ,share with me.
I don't have a "Project Template" nor an example project at hand atm. But first of all, when you say ASP.NET MVC5 and WebAPi 2 your mostly referring to the same thing. Besides, there will be little reason to have any ASP.NET views other than your index.html...
Angular will already handle all your templating needs. So for most parts, stick with API controllers.
Strike 3. and 4.
Don't use a Models class library, repository api, code first ect... That will just leave you to define you model in two places, if your doing this to learn, go with a JSON driven model and use a NO-SQL database, then let your Angular app define the data and the model... For .NET Raven DB might give you an easy start...
From that point on, it should be fairly easy for you to create a new web project in Visual Studio, trim it down to the absolute minimal code (leaving just the Index file and a Home controller)... Then build on top of that...
Node and Bower are great for package management to pull down things like Angular (https://angularjs.org/), Angular-routing (http://dotjem.github.io/angular-routing/), JQuery (http://jquery.com/), Bootstrap (http://getbootstrap.com/) etc...

Resources