- 博客(99)
- 收藏
- 关注
转载 面试心得
三月底离职,到现在已经面试好几家公司了,其实,真的很厌倦面试,很多打电话来的邀请面试的我都是先让他们发邮件给我,然后我查看一下他们对这个职位的招聘要求和公司的背景才回复他们,对了,我应聘的是C#开发工程师。 为什么很厌倦面试呢?因为我觉得80%的面试都是建立在不平等的关系上的,招聘方和应聘方是一个选择和被选择的关系,然而,我很赞同阮老师的那篇文章“面试时,如何向公司提问”,里面有这么一...
2017-04-08 11:27:00
172
转载 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
182
转载 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
222
转载 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
160
转载 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
123
转载 Part 35 AngularJS caseInsensitiveMatch and Inline Templates
In this video we will discuss 2 simple but useful features in Angular caseInsensitiveMatch Inline Templates Let us understand these 2 features with examples.caseInsensitiveMatch :Th...
2017-03-11 16:46:00
108
转载 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
110
转载 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
98
转载 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
161
转载 随手记
重启谷歌浏览器:chrome://restart 重启火狐浏览器:shift+f2 restart ef code first 第一次初始化数据库后,如果在model里面新加字段的话,运行会报错解决方案:1,使用 EF 的数据迁移(个人觉得比较麻烦) 在NuGet控制台输入以下命令 PM> Enable-Migrations -EnableAutomaticMigrations...
2016-12-12 10:53:00
192
转载 Sql分页存储过程
Sql2012及以上版本的分页比较简单: CREATE PROCEDURE usp_pagingin2012 @Start INT=0, @PageLimit INT=10 AS BEGIN SELECT * FROM 表名 ORDER BY 列名 OFFSET @Start ROW 开始位置 FETCH NEXT @PageLimit ROWS ONL...
2016-10-14 16:13:00
101
转载 关于编码(转载)
转自:http://blog.sina.com.cn/s/blog_4b4409c30100vw9t.html 最初的unicode编码是固定长度的,16位,也就是2两个字节代表一个字符,这样一共可以表示65536个字符。显然,这样要表示各种语言中所有的字符是远远不够的。Unicode4.0规范考虑到了这种情况,定义了一组附加字符编码,附加字符编码采用2个16位来表示,这样最多可以定义...
2016-09-02 10:44:00
149
转载 如何禁止表单用户名、密码自动填充(转载)
如何禁止(表单)用户名、密码自动填充 BYJACKSUN· 2014年11月21日 Html登录表单经常被自动填充,有的甚至用户从来没有登录过的网站也会有自动填充,甚是让人讨厌。 Mozilla 官方文档建议 Mozilla developer documentation 建议使用表单设置属性 tautocomplete=”off” 来阻止浏览器从cache获取...
2016-09-02 10:38:00
131
转载 C# 两个具有相同属性的类赋值
最近有遇到两个类之间的赋值问题,两个类的属性几乎都一样的,所以写了个通过反射获取属性的然后赋值的方法,把一个类的属性的值赋值给另一个类。 框架是.net 4.5 public static D Mapper<D, S>(S s) { D d = Activator.CreateInstance<D>(); ...
2016-08-29 09:06:00
585
转载 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
129
转载 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
128
转载 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
141
转载 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
123
转载 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
86
转载 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
98
转载 Part 23 to 26 Routing in Angular
Part 23AngularJS routing tutorial In 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
109
转载 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
795
转载 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
175
转载 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
114
转载 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
118
转载 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
112
转载 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
138
转载 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
129
转载 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
149
转载 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
126
转载 Part 13 Create a custom filter in AngularJS
Custom filter in AngularJS 1. Is a function that returns a function 2. Use the filter function to create a custom filter Let us understand creating custom filter with an example. ...
2016-02-02 23:59:00
113
转载 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
122
转载 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
89
转载 Part 10 AngularJS sort rows by table header
Here is what we want to do 1. The data should be sorted when the table column header is clicked 2. The user should be able to sort in both the directions - ascending and descending. Clickin...
2016-01-31 23:47:00
115
转载 Part 9 Sorting data in AngularJS
To sort the data in Angular 1. Use orderBy filter {{ orderBy_expression | orderBy : expression : reverse}} Example :ng-repeat="employee in employees | orderBy:'salary':false" ...
2016-01-31 23:30:00
95
转载 Part 8 AngularJS filters
Filters in angular can do 3 different things 1. Format data 2. Sort data 3. Filter data Filters can be used with a binding expression or a directive To apply a filter use pipe (|) characte...
2016-01-05 01:53:00
130
转载 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 table 2. Provide the ability to like and dislike a technology 3. Increment the likes a...
2016-01-05 01:34:00
132
转载 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
104
转载 part 5 Two way databinding in AngularJS
转载于:https://www.cnblogs.com/gester/p/5097711.html
2016-01-04 06:21:00
74
转载 part 4 AngularJS ng src directive
转载于:https://www.cnblogs.com/gester/p/5097710.html
2016-01-04 06:15:00
78
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅