Ana içeriğe atla

Kayıtlar

Devexpress using with Angular2+

After tousands of code in Asp.Net projects with DevExpress. When the time is coming for angular 2+ front-end applications, we are ready to go for it. Couse of that devexpress now supporting angular 2+ for current features like jquery, asp.net, etc. In order to discover and get some experience about dev express with angular. Lets start to visit https://js.devexpress.com/Overview/DataGrid/ page and click "See Demo" options and check them with "Angular" source code tab. To Start development with angular in real life we need to figure out someting such as download nodejs, gulp, etc. If you want to follow official steps and get more knowledge instead of faster startup, let visit https://github.com/DevExpress/devextreme-angular/blob/master/README.md My Steps to test angular2+ with Dev Express 1- Download node.js in offical angular page:    https://nodejs.org/en/download/ 2- download angular via node console with typing following command in command line npm...

Angular 2+ Failed to build project with JSZip library Issue Solving

While installing some of node packages you may have an issue as follow; ERROR in ./node_modules/jszip/lib/readable-stream-browser.js Module not found: Error: Can't resolve 'stream' in 'C:\Users\username\angularprojectname\node_modules\jszip\lib' just need to follow file path road to reach readable-stream-browser.js file and change content as below to solve issue like a charm :) Before : module . exports = require ( "stream" ); After : module . exports = require ( "readable-stream" );

Asp.Net Web Api - Swagger Dökümantasyon Alt Yapısı Ekleme

Backend tarafında rest api alt yapısı geliştirirken en büyük problemlerden biri şüphesiz ki bu API endpointlerini kullanacak kişilerle çok iyi iletişim kurabilecek bir dökümantasyon oluşturmak ve tabi bunun yanında kendi apilerini test caseler dışında kod yazmadan minimum efort ile manuel test edecek bir ortam olması. Daha önce .Net ile Rest Api geliştirirken Microsoft un sunduğu Help Page alt yapısından bahsetmiştim, buraya tıklayarak bu yazıma ulaşabilirsiniz. Microsoft bu tarafta bize her ne kadar hem yardım dökümanı oluşturma ve test edebilme üzerine güzel nuget package lar sunsa da , bu işi daha profesyonel, görsel ve fonksiyonel bir şekilde swagger ile yapabiliyoruz. Peki .Net Web Api projemizde swagger alt yapısını nasıl kullanabiliriz ? (Normalde swagger ın .Net e özel nuget ı olsa da uygulaması biraz zahmetli ve uzun olduğu için ben kendi bulduğum kurulumu çok basit bir nuget package üzerinden anlatıyor olacağım.) Bu işlem oldukça kolay aşağıdaki adımları izlememiz ye...

Angular5 Build Prod with base href

In normally angular2 and higher version projects building for prod with following command; ng build --prod  But sometimes we need to subdomain like domainname.com/ subdomainname / , in this situation we need to use base-href command to deploy properly otherwise it won't be work without console error. To use base-href and define subdomain whichs is work like a directory, we just need to use following command: ng build --prod --base-href /subdomainname/ with this command , we can solve this issue and deploy our project without any problem..

angular5 projemize nasıl html editor ekleriz ?

Angular5 projemize basit bir html editor implemente etmek için aşağıdaki aşamalrı uygulamamız yeterlidir. 1. cmd ekranını açıyor ve proje dosyamızı açıyoruz. örnek : cd /projedosyamız cd /projedosyamız 2. proje dosyamızda node package manager yardımı ile ngx editör pluginini indiriyoruz. npm install ngx-editor --save 3. app.module.ts dosyamızda import kısmına plugin tanımını yapıyoruz. import   {   NgxEditorModule   }   from   ' ngx-editor ' ; @ NgModule ( {    imports :   [   NgxEditorModule   ] } ) 4. ve son olarak ilgili modülü kullanmak istediğimiz html dosyamıza aşağıdaki kod parçası ile ekliyoruz. < app-ngx-editor   [( ngModel )]= " htmlContent " > < / app-ngx-editor > Kaynak : https://www.npmjs.com/package/ngx-editor

Load Git Repository to Online Repository

while uploading local git repository to online private git repository you can use the following way; cd /projectFilePath git init git remote add origin https://your .git repo url git add . git commit -m "initial commit" git push origin master

ionic cordova resources issue

When you come to resource command operation which is help you to provide all versions for android and ios icon and splash images. You may get an exception as following; ionic cordova resources android --no-timeout ✔ Collecting resource configuration and source images - done! ✔ Filtering out image resources that do not need regeneration - done! ✖ Uploading source images to prepare for transformations - failed! HTTP Error 400: POST https://res.ionic.io/api/v1/upload {"Error":"unable to read uploaded image","Width":0,"Height":0,"Type":"png","Vector":false} to solve this problem you just need to use following web site and try to compress your images then try it again, its going to work like a charm :) website:  https://tinypng.com/ Try to use resources command for ios and android as following; ios resources command : ionic cordova resources ios --no-timeout android resou...