自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(99)
  • 收藏
  • 关注

转载 面试心得

三月底离职,到现在已经面试好几家公司了,其实,真的很厌倦面试,很多打电话来的邀请面试的我都是先让他们发邮件给我,然后我查看一下他们对这个职位的招聘要求和公司的背景才回复他们,对了,我应聘的是C#开发工程师。为什么很厌倦面试呢?因为我觉得80%的面试都是建立在不平等的关系上的,招聘方和应聘方是一个选择和被选择的关系,然而,我很赞同阮老师的那篇文章“面试时,如何向公司提问”,里面有这么一...

2017-04-08 11:27:00 145

转载 Part 39 AngularJS route change events

In this video we will discuss1. Different events that are triggered when a route change occurs in an angular application2. Logging the events and event handler parameters to inspect their respect...

2017-03-11 17:28:00 156

转载 Part 38 AngularJS cancel route change

n this video we will discuss,how to cancel route change in Angular with an example. This is extremely useful if you want to warn a user when they are navigating away from a page with unsaved cha...

2017-03-11 17:16:00 184

转载 Part 37 Difference between $scope and $rootScope

In this video we will discuss thedifference between $scope and $rootScope. The main difference is that,$rootScopeis available globally (for all controllers), whereas$scopeis only available t...

2017-03-11 17:01:00 135

转载 part 36 AngularJS route reload

In this video we will discussangular route service reload() method. This method is useful when you want to reload just the current route instead of the entire app. Let us understand this with an...

2017-03-11 16:52:00 101

转载 Part 35 AngularJS caseInsensitiveMatch and Inline Templates

In this video we will discuss 2 simple but useful features in AngularcaseInsensitiveMatchInline TemplatesLet us understand these 2 features with examples.caseInsensitiveMatch :Th...

2017-03-11 16:46:00 94

转载 Part 34 AngularJS controller as vs scope

There are 2 ways to expose the members from the controller to the view -$scope and CONTROLLER AS.The obvious question that comes to our mind at this point is - Why do we have 2 ways of doing th...

2017-03-11 16:39:00 91

转载 Part 33 Angular nested scopes and controller as syntax

Working with nested scopes using $scope object :The following code creates 3 controllers - countryController, stateController, and cityController. All of these have set name property on the $sc...

2017-03-11 16:34:00 84

转载 Chapter 1:Create You First 3D Scene With Three.js

1,各浏览器对WebGL的支持手机浏览器对WebGL的支持:书的源码:https://github.com/josdirksen/learning-threejs第一次用浏览器打开代码可能无法正常显示,好像要对浏览器做一些设置额。创建第一个3D场景包括这几样东西:<!DOCTYPE html><html><...

2017-02-15 17:17:00 141

转载 随手记

重启谷歌浏览器:chrome://restart重启火狐浏览器:shift+f2 restartef code first 第一次初始化数据库后,如果在model里面新加字段的话,运行会报错解决方案:1,使用 EF 的数据迁移(个人觉得比较麻烦) 在NuGet控制台输入以下命令 PM> Enable-Migrations -EnableAutomaticMigrations...

2016-12-12 10:53:00 128

转载 Sql分页存储过程

Sql2012及以上版本的分页比较简单:CREATE PROCEDURE usp_pagingin2012@Start INT=0, @PageLimit INT=10ASBEGINSELECT * FROM 表名ORDER BY 列名OFFSET @Start ROW 开始位置FETCH NEXT @PageLimit ROWS ONL...

2016-10-14 16:13:00 82

转载 关于编码(转载)

转自:http://blog.sina.com.cn/s/blog_4b4409c30100vw9t.html最初的unicode编码是固定长度的,16位,也就是2两个字节代表一个字符,这样一共可以表示65536个字符。显然,这样要表示各种语言中所有的字符是远远不够的。Unicode4.0规范考虑到了这种情况,定义了一组附加字符编码,附加字符编码采用2个16位来表示,这样最多可以定义...

2016-09-02 10:44:00 137

转载 如何禁止表单用户名、密码自动填充(转载)

如何禁止(表单)用户名、密码自动填充BYJACKSUN· 2014年11月21日Html登录表单经常被自动填充,有的甚至用户从来没有登录过的网站也会有自动填充,甚是让人讨厌。Mozilla 官方文档建议Mozilla developer documentation 建议使用表单设置属性 tautocomplete=”off” 来阻止浏览器从cache获取...

2016-09-02 10:38:00 110

转载 C# 两个具有相同属性的类赋值

最近有遇到两个类之间的赋值问题,两个类的属性几乎都一样的,所以写了个通过反射获取属性的然后赋值的方法,把一个类的属性的值赋值给另一个类。框架是.net 4.5 public static D Mapper<D, S>(S s) { D d = Activator.CreateInstance<D>(); ...

2016-08-29 09:06:00 547

转载 Part 32 AngularJS controller as syntax

So far in this video series we have been using $scope to expose the members from the controller to the view.app.controller("mainController", function ($scope) { $scope.message = "Hello A...

2016-05-15 03:56:00 112

转载 Part 31 AngularJS page refresh problem

What is the issue :When you navigate tohttp://localhost/students, you will see list of students as shown belowClick on any student name. For example when you click on Mark, you will see mark ...

2016-05-15 03:40:00 110

转载 Part 30 AngularJS routeparams example

Here is what we want to do :When we navigate to/students, the list of student names must be displayed as hyperlinks.When we click on any student name, the respective student details should be...

2016-05-15 03:36:00 122

转载 Part 29 AngularJS intellisense in visual studio

In the previous videos if you have noticed as we were typing the angular code in Script.js file we were getting some intellisense but it definitely is not good though. For example when we type $r...

2016-05-15 03:18:00 109

转载 Part 28 AngularJS default route

At the moment the problem is that, if you try to navigate to a route that is not configured, you will see only the layout page without any partial template injected into it.For example if you na...

2016-05-15 03:17:00 74

转载 Part 27 Remove # from URL AngularJS

There are 4 simple steps toremove # from URLs in Angular.Step 1 :Enable html5mode routing. To do this inject $locationProvider into config() function in script.js and call html5Mode() method p...

2016-05-15 03:06:00 84

转载 Part 23 to 26 Routing in Angular

Part 23AngularJS routing tutorialIn general, as the application becomes complex you will have more than one view in the application. Let's say you are building a single page application for a ...

2016-05-13 17:04:00 96

转载 C# 合并两个数组总结

      byte[] b1 = new byte[] { 1, 2, 3, 4, 5 }; byte[] b2 = new byte[] { 6, 7, 8, 9 }; byte[] b3 = new byte[b1.Length + b2.Length]; char[] b4 = new char[...

2016-05-04 14:53:00 769

转载 Part 21 to 22 AngularJS anchorscroll

Part 21 AngularJS anchorscroll example$anchorscroll service is used to jump to a specified element on the page$location service hash method appends hash fragments to the URL$anchorscroll(...

2016-04-26 23:28:00 151

转载 Part 20 Create custom service in AngularJS

Whenever the case changes from lower to upper, a single space character should be inserted. This means the string"AngularVideoTutorial"should be converted to"Angular Video Tutorial".Let us fi...

2016-04-25 23:50:00 95

转载 Part 19 AngularJS Services

What is a service in AngularJSBefore we talk about what a service is in Angular. Let's talk about a service in web development.If you have anyexperiencedeveloping web applications1. You might...

2016-04-25 23:38:00 99

转载 Part 18 $http service in AngularJS

In Angular there are several built in services. $http service is one of them. In this video, we will discuss another built in service, $log. It is also possible to create our own custom services ...

2016-04-24 01:00:00 92

转载 Part 17 Consuming ASP NET Web Service in AngularJS using $http

Here is what we want to do1. Create an ASP.NET Web service. This web service retrieves the data from SQL Server database table, returns it in JSON formt.2. Call the web service using AngularJS ...

2016-04-24 00:48:00 114

转载 Part 16 ng include directive in AngularJS

ng-include directive is used to embed an HTML page into another HTML page. This technique is extremely useful when you want to reuse a specific view in multiple pages in your application.The val...

2016-04-24 00:21:00 109

转载 Part 15 AngularJS ng init directive

Theng-init directiveallows you to evaluate an expression in the current scope.In the following example, theng-init directiveinitializes employees variable which is then used in the ng-repea...

2016-04-24 00:08:00 119

转载 Part 14 ng hide and ng show in AngularJS

ng-hide and ng-show directives are used to control the visibility of the HTML elements. Let us understand this with an example When Hide Salary checkbox is checked, the Salary column should be ...

2016-02-03 00:10:00 107

转载 Part 13 Create a custom filter in AngularJS

Custom filter in AngularJS1. Is a function that returns a function2. Use the filter function to create a custom filterLet us understand creating custom filter with an example....

2016-02-02 23:59:00 93

转载 Part 12 Angularjs filter by multiple properties

In the example below, we are using multiple search textboxes. As you type in the "Search name" textbox, only the name property is searched and matching elements are displayed. Similarly, as you t...

2016-02-01 00:15:00 89

转载 Part 11 Search filter in AngularJS

As we type in the search textbox, all the columns in the table must be searched and only the matching rows should be displayed.Script.js : var app = angular .module("m...

2016-01-31 23:59:00 74

转载 Part 10 AngularJS sort rows by table header

Here is what we want to do1. The data should be sorted when the table column header is clicked2. The user should be able to sort in both the directions - ascending and descending. Clickin...

2016-01-31 23:47:00 97

转载 Part 9 Sorting data in AngularJS

To sort the data in Angular1. Use orderBy filter {{ orderBy_expression | orderBy : expression : reverse}} Example :ng-repeat="employee in employees |orderBy:'salary':false"...

2016-01-31 23:30:00 79

转载 Part 8 AngularJS filters

Filters in angular can do 3 different things1. Format data2. Sort data3. Filter dataFilters can be used with a binding expression or a directiveTo apply a filter use pipe (|) characte...

2016-01-05 01:53:00 99

转载 Part 7Handling events in AngularJS

Let us understand with an example. Here is what we want to do.1. Display the list of technologies in a table2. Provide the ability to like and dislike a technology3. Increment the likes a...

2016-01-05 01:34:00 107

转载 Part 6 AngularJS ng repeat directive

ng-repeat is similar to foreach loop in C#. Let us understand this with an example. Here is what we want to do.1. For each employee we have in the employees array we want a table row. ...

2016-01-05 01:23:00 81

转载 part 5 Two way databinding in AngularJS

转载于:https://www.cnblogs.com/gester/p/5097711.html

2016-01-04 06:21:00 61

转载 part 4 AngularJS ng src directive

转载于:https://www.cnblogs.com/gester/p/5097710.html

2016-01-04 06:15:00 61

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除